simulate/virtual file in memory

1.1k Views Asked by At

I have a library that has a file based interface (it only accept file names/paths). Since the operations are time critical i would like to load the file to memory.

Is there a way to create create in-memory files that have a file path that is resolvable with the normal file access routines?

For example many programs still work if they get some win32 device path or an UNC path instead of a 'classic' windows path. or maybe if that is not the case maybe a softlink can be used to map it into 'normal' filesystem.

One obvious way would be to use some ramdisk software but this would require further manual steps and also requires to tell the program the ramdisks letter.

0

There are 0 best solutions below