CreateFileMapping -> read / write from a shared file
70 views
Skip to first unread message
Kris
unread,
Aug 24, 2009, 7:38:05 AM8/24/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Is there an easy way to write a huge stream of data very quickly to the RAM? "CreateFileMapping" seemed to be convenient when using file handle INVALID_HANDLE_VALUE for creation. But the comment in the API description says that the paging file will be used for storing. I have some concerns that this is not fast enough if the hard disk is involved. Or is the paging file only used if no additional RA(M) memory is available? Or is there a better way? The application could have some hundred "files" of that kind open...
punky
unread,
Sep 11, 2009, 9:11:07 AM9/11/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
i dont know if u can write directly to the Physical Memory over Device/ PhysicalMemory , but if, its maybe a fast method, but if u do this, windows will not know anything about your storage and can be deleted bei allocation pages from windows