PDA

View Full Version : Win32 Question



Akash
10-13-2001, 05:55 PM
I am using visual C++ 6.0 and win32 project. I was wondering if there is a way of opening a console window ( the one that we get with a console project ). Or a a win32 window from a console project.
There will NEVER be both of them running at the same time... so the user decides if he wants a console window or a win32 window... Is it possible? if yes, How?

thx a lot

Tron
10-13-2001, 07:47 PM
console and windows at the same time are possible (e.g. for debugging a console is handy), just create a normal console application (with main()) and then create your window (RegisterClass(), CreateWindow(), ...)