Does Windows have a virtual or temporary file system?

I have a third-party closed source API that writes the output to a file, however I want to read this data and continue processing it.

The API is a library in the DLL and takes the usual file path, for example, C: \ someFolder \ someFile

The current setup requires me to save the data from the api in a temporary file on disk, and then read this temporary file to get the data in memory for processing.

Is it possible in Windows to have a virtual file or file system in the main memory with a regular path so that the API can write to the main memory instead of the disk in order to speed things up, since there was no access to the disk.

Is this possible initially in Windows without using any additional software or installing the API?

+5
source share
1 answer

You can create a named pipe and specify the path in the form \\. \ Pipe \ PipeName for your DLL. Then in your own code connect to the pipe and read. See an example here: Create named C ++ Windows pipes .

+2
source

All Articles