i already read about spawn command on your faq page but can anyone tell me or give me some example how can i use it to run an EXE file that get their input from a read pipe and the pipe will read the list of inputs from a '.dat' file.
currently i'm using CreateProcess() to do it but the program won't stop running until user press ENTER button for a couple of times. the program that i've been working on is use to run another EXE file with the list of inputs being supply by the 'input.dat' file and then output from the EXE file will be written to a 'output.dat' file. hope this can help you out to understand what i'm trying to do.
thanx in advance
If you think you are good, there must be someone better than you