How do I create a C++ command line program that works in MS-DOS mode?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I wish to use VS2008 to create a C++ program that will run in DOS mode without giving me that message "This program cannot be run in DOS mode." Ive searched VS2008 help and the web, but to no avail. Im not talking about a DOS command prompt
window running under Windows XP, but a true DOS mode command prompt.
Ive already written the app which reads and writes files, and it works fine in VS2008 debug. But on the target computer running a flavor of DOS, it barfs with that message.


View the full article
 
Back
Top