Reputation: 1585
I am developing WTL GUI application.
I want to print something on console.
How to enable console printing in win32/WTL application.
Upvotes: 0
Views: 609
Reputation: 13932
Use AllocConsole to attach to a new console. (This will fail if your program is being run from a console window in the first place, but that's ok.) Also look at this page for a fully worked example.
Upvotes: 2