Running a DOS program from within a DELPHI program
Posted on 1997-08-19
I need to know how to run a DOS program (32-bit) from within a DELPHI 3.0 program.
Usually, the DOS program is run in a DOS window and accepts a command line parameter. I need my program to automatically create such a window and to call the program together with its command line parameter.
I know about the CreateProcess function but I can't get it to work. I would appreciate being able to look at a working example if you have one and don't mind parting with it.
Thanks in advance.