Thank you so much for writing imdisk and so many other open source windows applications.
I am wondering if imdisk would be suitable for a very particular usage I have in mind.
I wrote a large C code to acquire and process images from a scientific instrument I built (all open source.. see https://github.com/b...-frickin-lasers)
I use OpenCV's computer vision library to generate a video by adding a new frame to an open AVI file many times a second in a loop as the images arrive from the instrument. Writing to ramdisk speeds up my looping time, however, because everything is in ram, now if the computer crashes or if power goes out I will lose the entire AVI file.
One option would be to rewrite my code to change how I write to file. Another option though, ought to be to do periodic backups, every few seconds or so, using robocopy or strarc. This is what people seem to be calling "lazy-write." Robocopy, though, can't copy files that are currently being written, or "locked". Apparently windows shadow copy will do this, but it doesn't work with a commercial RAMDisk utility I tried from Dataram.
Would imdisk allow me to copy files from ramdisk to disk using shadow copy or strarc and even files that are currently being written?
I can afford to lose the last few frames of video in my AVI file, and I have tools that can open a corrupted AVI file and recover everything else.
Thank you again.
Best,
Andy