>Hello folks,
>
>In the old DOS days we could make virtual drives for tmps e.t.c. Can we do this now and how to do it during runtime (i mean create a file in memory from inside VFP and access the files from within VFP). More specifically I need to decompress a bmp from a cd in order to show it on a form. But as far as I know Fox needs a file to do that, she can not show a bmp which locates in memory (I don't want to use an activex, because I am going to put Fox controls on the bitmap). But this would take long if I decompress in a disk file and then show it. So the most easy solution is to use a memory disk ...
>
I'm not sure I understand your question - are you asking if VFP can put files on a RAM disk - if so, the answer is yes; both Win9x and WinNT can support RAM disks (Win9x still comes with a device driver the last I looked, and NT Ram disks are available from places like
www.sysinternals.com; you might also want to check shareware sites like shareware.com to see what they have that might be more flexible about dynamic creation of drives.) Creating and destroying the RAM disk is done from outside of VFP; the native Win9x RAMDisk stuff is initiated from CONFIG.SYS; NT can be a bit more flexible in how and when it creates the RAM drive, but that's an implementations issue. Once it's there as a drive letter, VFP can use it.