在debugView中输出信息

printf不行,TRACE可能性,但不是win32函数。


OutputDebugString

TCHAR   mymsg[512]; 
_stprintf(mymsg,_T( "Error Occurred at %s(%d)!\n "),   __FILE__,   __LINE__); 
OutputDebugString(mymsg); 


你可能感兴趣的:(File)