“txt文件读取显示.exe”: 已加载“E:\电脑技能\软件\Win32_API编程设计\WIN32_API编程代码库\VC2010程序运行库\txt文件读取显示\Debug\txt文件读取显示.exe”,已加载符号。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\ntdll.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\kernel32.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\user32.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\gdi32.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\lpk.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\usp10.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\msvcrt.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\msvcr100d.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\imm32.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\msctf.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\advapi32.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\sechost.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\rpcrt4.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\uxtheme.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“D:\Program Files\360\360Safe\safemon\safemon.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\shell32.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\shlwapi.dll”,已加载符号(去除源信息)。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\ole32.dll”,已加载符号。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\oleaut32.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\psapi.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\version.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\wininet.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\urlmon.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\crypt32.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\msasn1.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\iertutil.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\ws2_32.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\nsi.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\apphelp.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\SogouPy.ime”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\msimg32.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\ntmarta.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\Wldap32.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“D:\Program Files\SogouInput\6.2.0.7476\Resource.dll”,未使用调试信息生成二进制文件。
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\dwmapi.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“D:\Program Files\SogouInput\Components\AddressSearch\1.0.0.895\AddressSearch.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\System32\cryptbase.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“D:\Program Files\SogouInput\Components\PicFace\1.0.0.719\PicFace.dll”,Cannot find or open the PDB file
“txt文件读取显示.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll”,Cannot find or open the PDB file
线程 'Win32 线程' (0x1a38) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x1c7c) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x1b98) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x1ae4) 已退出,返回值为 0 (0x0)。
程序“[6168] txt文件读取显示.exe: 本机”已退出,返回值为 0 (0x0)。

解决方案 »

  1.   

    你是怎么注册窗口类的,有用到wndclass.style   =CS_HREDRAW | CS_VREDRAW|WS_DLGFRAME;吗?听说
    既然是CS_开头,那当然用Class Styles规定的样式,其中是没有以WS_开头的。而WS_开头,则是属于Window Styles,这是在CreateWindow或CreateWindowEx用到的参数。他们两个不是亲家。
      

  2.   

    是在xp系统上,还是window 7上,或者window 8上呢,如果是window 7 或者window 8 程序运行需要管理员权限,最后运行的是debug版还是release版?
      

  3.   


    用的是window7版本vc2010里的debug版本
      

  4.   

    WIN7 就是windows NT的后续版本。
      

  5.   

    this program requires windows NT消息框是你自己show出来的吗?还是系统弹出来的?
      

  6.   

    if (!RegisterClass (&wndclass))
         {
              MessageBox (NULL, TEXT ("This program requires Windows NT!"),
                          szAppName, MB_ICONERROR) ;
              return 0 ;
         }
    这是自己写注册窗口时,若注册不成功则弹出该框框
    具体代码请看:  http://bbs.csdn.net/topics/390284419
      

  7.   

    “     wndclass.style         = CS_HREDRAW | CS_VREDRAW;//|WS_VSCROLL|WS_HSCROLL|WS_DLGFRAME ;

    ‘;//|WS_VSCROLL|WS_HSCROLL|WS_DLGFRAME ;’ 是 窗口风格,不是类风格,窗口风格放Create中 
      

  8.   

    RegisterClass调用失败,调用GetLastError()看看错误值是什么