Does anyone here know if there is a function to write stuff into the Debug Window in Visual C++ 6.0?
If you dont know what the Debug Window is:
Click on the Debug Tab of the Output Window.
Printable View
Does anyone here know if there is a function to write stuff into the Debug Window in Visual C++ 6.0?
If you dont know what the Debug Window is:
Click on the Debug Tab of the Output Window.
haven't a clue, but if you don't mind me asking: why would you want to do that?
I've been working with Visual C++ 5.0 since it came out, and ive been using Visual C++ 6.0 as well... and ive never ever wanted to write anything to the output window !
why oh why are u trying to do that ?
also i would consult the compiler manual if you have a question like that...
*snicker*
When you debug a program , the macro TRACE0() can output string to debug window.
i would want to do that because, say i had a problem with a button clicking, and wanted to see if it was actually taking the click or whatever i'd go:
Code:case ID_BUTTON1:
// Write to debug window: "BUTTON1 WAS CLICKED"
break;
Code:case ID_BUTTON1:
TRACE0("The first button is pressed!\n");
break;