Hello, I've got a file that I start with a batch file in several W2K widows using the line:
start cmd /c "c:\myfile.exe" 0
start cmd /c "c:\myfile.exe" 1
...
I'm opening up five instances currently. Each instance shares the same log file. The exec file has the shared log file open from start to finish.
filehandle = fopen(logfn, "a+t")
So far it appears to work. Is this by luck or should I create separate log files from each instance and merge them after each instance completes? I'm using visual C++.net. The exec is just a console file however.
Thanks for your help.
start cmd /c "c:\myfile.exe" 0
start cmd /c "c:\myfile.exe" 1
...
I'm opening up five instances currently. Each instance shares the same log file. The exec file has the shared log file open from start to finish.
filehandle = fopen(logfn, "a+t")
So far it appears to work. Is this by luck or should I create separate log files from each instance and merge them after each instance completes? I'm using visual C++.net. The exec is just a console file however.
Thanks for your help.