How can you view printf output in a Win32 application (entering with a WinMain) in Visual Studio 2010?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit 2021, Visual Studio 2019
To write debug messages to the Output window use the OutputDebugStringA from
debugapi.h(include windows.h)test.c
Tested on Visual Studio 2019, Debug / x64.
Or alternatively utilize my drop-in header file.