Rushikesh Talokar
Rushikesh Talokar

Reputation: 1585

Printing on console WIN32/WTL

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

Answers (1)

Eric Brown
Eric Brown

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

Related Questions