介绍一个挺好的调试工具。
以前我们的writelog 可以用 OutputDebugString代替了
http://www.sysinternals.com/ntw2k/freeware/debugview.shtml

解决方案 »

  1.   

    调试的时候可能被delphi截获了,用exe
      

  2.   

    zui下面就是download
    http://www.sysinternals.com/files/dbgv98.zip
    http://www.sysinternals.com/files/dbgvnt.zipUnder Windows 95, 98, and Me DebugView will capture output from the following sources: 
    Win32 OutputDebugString 
    Win16 OutputDebugString 
    Kernel-mode Out_Debug_String 
    Kernel-mode _Debug_Printf_Service 
    Under Windows NT, 2000, XP and .NET Server DebugView will capture: 
    Win32 OutputDebugString 
    Kernel-mode DbgPrint 
    All kernel-mode variants of DbgPrint implemented in Windows XP and .NET Server 
      

  3.   

    没什么用。在delph的ide下可以自动截获outputdebugstring。如果是exe输出调试信息的话,写log是最好的,用户只需将log文件反馈回来就可以了。