Create a virtual file
-
I have a 3rd party program that writes data to a selected file. Instead of having the program write to a file, I'd like to be able to create a virtual file and capture the data the program writes. I've tried doing it with named pipes, but I can't get it to work*. Are there any other ways to create a virtual file? Thanks * Even though a simple CreateFile,WriteFile,CloseFile program works, the copy command returns "All pipe instances are busy." error and GUI programs just hang for a few seconds after I press save.
-
I have a 3rd party program that writes data to a selected file. Instead of having the program write to a file, I'd like to be able to create a virtual file and capture the data the program writes. I've tried doing it with named pipes, but I can't get it to work*. Are there any other ways to create a virtual file? Thanks * Even though a simple CreateFile,WriteFile,CloseFile program works, the copy command returns "All pipe instances are busy." error and GUI programs just hang for a few seconds after I press save.
Forjer wrote: I'd like to be able to create a virtual file and capture the data the program writes. Do you mean intercept "write" calls to a certain file? If so, check out this utility.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
Forjer wrote: I'd like to be able to create a virtual file and capture the data the program writes. Do you mean intercept "write" calls to a certain file? If so, check out this utility.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
I was simply providing the link to give you an idea as to what is involved in intercepting file I/O. Suffice it to say, it's not a trivial undertaking.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
I have a 3rd party program that writes data to a selected file. Instead of having the program write to a file, I'd like to be able to create a virtual file and capture the data the program writes. I've tried doing it with named pipes, but I can't get it to work*. Are there any other ways to create a virtual file? Thanks * Even though a simple CreateFile,WriteFile,CloseFile program works, the copy command returns "All pipe instances are busy." error and GUI programs just hang for a few seconds after I press save.
Hi , WHat about memory mapped files ??? Iam not sure what you are looking for ....but looks like memory mapped file might help you ... Cause is my effort; Effect is God's effort
-
I was simply providing the link to give you an idea as to what is involved in intercepting file I/O. Suffice it to say, it's not a trivial undertaking.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
Hi , WHat about memory mapped files ??? Iam not sure what you are looking for ....but looks like memory mapped file might help you ... Cause is my effort; Effect is God's effort