你是看了这吧:)
If the application has no debugger, the system debugger displays the string. If the application has no debugger and the system debugger is not active, OutputDebugString does nothing.
其实你完全可以不用这个函数的:)
用TRACE宏一样可以输出调试信息的!

解决方案 »

  1.   

    如果不用MFC的话,那么TRACE就不能用了呀
      

  2.   


    Use the following function to test if Debugger present 
    IsDebuggerPresent()
      

  3.   

    我试过了,没有debugger,是不是要自己写DEBUG_EVENT做处理
      

  4.   

    没有debugger ?怎么可能 Release ?
      

  5.   

    我只是说OutputDebugString这个函数现在不能用
    谁知道,说一下吧。thanks
      

  6.   

    所谓的SystemDebbuger就是VC的Debug Window。
    你可以试一下,不用别的设置九可以看到Debug Winodw的输出信息
      

  7.   

    你去中国驱动开发网络(http://www.driverdevelop.com/)下载Dbgview.exe吧,专门干这事的。
    如果没有留下mail,发给你。200k
      

  8.   

    vc的debug window 我这里没有效果
    我的email是[email protected],发给我,谢谢