Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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
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
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

0 new messages