> The console is created by the system NOT by command.com. Start a console
app in the back ground… code running… no console. A console is
simply a system created way to display and get standard io. Each one has
its own process context the same as each windows app does. It also
simulates a memory mapped character video buffer as well. If you excute a
16-bit app, windows spawns off a ntvdm.exe (Virtual Dos Machine) to run it
in. The VDM does not exist for 32 bit console apps. There is a whole
chapter in the SDK doc called “Consoles and Character-Mode Support”. For
a quick start see BOOL AllocConsole(VOID); function help in the Platfor
SDK help. It has links to that chapter. It is all 32 bit code (and most
certainly not DOS).
Ah, terminological problem, I knew it. Sorry, my fault. Never read this part
of SDK althought use console apps daily so no wonder I used word console
incorrectly (as a synonym for shell window).
Best regards,
Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]