I have a Windows Forms application that I need to write to the output window from. OutputDebugString("text"); doesn’t work – no output. I tried some others as well, but I didn’t get any to work. Is there a function that I can just call like the following?
DebugWriteLine("text");
If
OutputDebugString("text");doesn’t work, then try the following (many thanks to Lol4t0 for this):Go into the project settings of your EXE to debug.
Select the Debugging property page.
Select ‘Mixed’ for the Debugger type.