compiling for win 3.1?

Hi all,

Using VC++ express 2008, compiled by prog, runs fine on XP etc but primary aim is to run my prog under win 3.1(long story). Right now win 3.1 tries to open it but after a second or two shuts down (back to win 3.1 operating sys). Its console based, nothing exotic. I'm pretty fresh to C++, any help appreciated.

Thanks,
Gordon

PS DOS wont execute it either, just tells me "program cant run in DOS"?
You need to get a special compiler. A quick google search gave me the following:
http://www.digitalmars.com/
http://www.openwatcom.org/index.php/Main_Page
http://www.delorie.com/djgpp/
Thanks, will take a look at these right away.
Topic archived. No new replies allowed.