We have an exe command that takes input from a text file and creates an output text file. It is used for complex industrial modeling.
The source code for this exe is long gone. Now it was easy enough to create a .NET wrapper that controls the execution of this exe and communicates with an external application through a web service.
Unfortunately, a new requirement is to optimize the black box for this model. Now there are various methods for optimizing the black box, but all of them require calling the executable file thousands (millions?) Times. Obviously, the creation and analysis of disk-based text files is a bottleneck in the modeling process.
Is it possible to trick this executable file in general so as not to write to a physical disk? If we were on Unix, I assumed that pipes would do the trick, but our deployment server is Windows Server 03.
It just occurred to me that ramdrive could solve this problem, but I did not play with one of them with MS-DOS 6. Any commercial products worth looking at? Does anyone have any other ideas for emulating a physical disk using code? We are on .NET 3.5.
source
share