"David D. Hagood" wowbagger@sktc.net writes:
Would it not be better (at least under Linux) to simply allow the normal OS load process to handle this? Since Linux can be configured to directly call Wine to run DOS/Windows binaries, the would allow them to run normally, plus if you wished to replace the DOS program with an equivelent native program it would still work.
No, using CreateProcess() is much better. It handles Unix binaries just as well, and does the right thing for Windows binaries (passing startup info etc.)