I want to use fopen,fwrite,fread on files in RAM, not on disk.
Is it possible ?
Thanks.
Printable View
I want to use fopen,fwrite,fread on files in RAM, not on disk.
Is it possible ?
Thanks.
What do you mean by files in RAM?
Memory usually had data and not files.
Are you talking about a RAM drive?
If so you definitely can use those functions on it.
Yes there is. :o
Try and install one of these programs -
Free Ramdisk for Windows Vista, XP, 2000 and 2003 Server
How To Make a Windows XP RAM Disk Drive (for free)
creating RAM drive is nothing about visual c++ coding.. u can google for it and see a lots of results..
If you're using MFC, you might also consider CMemFile.
http://msdn.microsoft.com/en-us/library/tzdxd4x0.aspx