Is there an option or switch or define in VC++ 6.0 or BC++ 5.5 (free) to have a program compiled so that it can be executed in MS-DOS? I made a program that I wanted to work on a boot disk but I get that "this program must be ran under win32" error.
Is there an option or switch or define in VC++ 6.0 or BC++ 5.5 (free) to have a program compiled so that it can be executed in MS-DOS? I made a program that I wanted to work on a boot disk but I get that "this program must be ran under win32" error.
Yeah, just choose the Console App option. That should do it.
1978 Silver Anniversary Corvette
I'm not sure about BC++ 5.5, but VC++ 6.0 will only do 32 bit apps.
zen
I tried the console app switch -- it just compiles it as a 32-bit console application. I need to compile it as a 16-bit console application.
I dont know about the free version but the standard version of BC++ when you start a new project it specifies wether its a windows or Dos app. So its possible I just dont know what the switch is sorry.
DOS is now a VM (virtual machine). This means, it is not really an OS anymore. Just a shell simulation in the 32 bit environment.
--Garfield
1978 Silver Anniversary Corvette
he's right. If you want 16-bit code try DJGPP
djgpp is also 32 bit.