Quote:
The source code for a console program that displays 'hello world' in a DOS window, and the source code for a windows program that displays 'hello world' in a window are not the same. The windows program is more than 50 lines of source code.
It was not what I meant. Think you have a 50 lines code for Windows. Once compile it with the _CONSOLE switch and once without it (imagine that it will compile without any linkin' error).
Quote:
When a win32 console program is run, a console window is created. You don't write the code to display the console window. But For win32 non-console programs, you must create your own windows. You can create a console window if you like, but one is not automatically created.
I know, what I mean is this: