Reputation: 11439
C# spoils me in that I can write an application that targets the 'Console', while still using windowing. This is super useful for debugging, but alas, I am at a loss: can applications in Win32 that target /SUB-SYSTEM:WINDOWS
also use the console?
Upvotes: 1
Views: 170
Reputation: 20063
Yes. If you create a console application you can still create windows. Just like a non-console application you still have to have get and dispatch window messages. If you create a window based application you can create a console by calling AllocConsole
.
Upvotes: 4