Page 1 of 1

DOS emulation layer

Posted: Thu Jul 16, 2009 3:37 am
by doomonyou
Is there any documentation about how Windows handles Dos app? Is there a difference in the executable that it looks for or something. My idea is to write a wrapper around DOSbox to auto-launch dos apps and their installers.

Re: DOS emulation layer

Posted: Thu Jul 16, 2009 1:23 pm
by GoBusto
doomonyou wrote:Is there any documentation about how Windows handles Dos app? Is there a difference in the executable that it looks for or something. My idea is to write a wrapper around DOSbox to auto-launch dos apps and their installers.
I don't know a lot about this personally, but I do know one thing that may help you:

Open a Windows EXE file in Wordpad. You can see a plain-text string that states "This program cannot be run in DOS mode." near the top, indicating a non-DOS executable.

Posted: Thu Jul 16, 2009 5:26 pm
by hto
Look at CreateProcessInternalW function.

Re: DOS emulation layer

Posted: Mon Jul 20, 2009 1:31 pm
by The123king