|
-
September 13th, 1999, 12:17 AM
#1
VC++ 5.0: Compile for Windows or DOS?
I've had the problem several times where I write a program that I want to compile DOS-style (i.e. start executing main()) and add it into a new project with VC++ 5.0, it looks for WinMain(). Same deal with MFC-type projects. Only thing I could figure was manually editting the .DSP file. Is there an easier way to do this, like through project settings? TIA
-
September 13th, 1999, 02:46 AM
#2
Re: VC++ 5.0: Compile for Windows or DOS?
Try to change in project settings | c/c++ | preprocessor definitions the definition of _WINDOWS to _CONSOLE.
Hope, this will work for you.
Jack.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|