【发布时间】:2018-04-04 06:06:37
【问题描述】:
我正在运行我的程序,但弹出的窗口显示该应用程序无法正确启动。我检查输出有很多这样的消息:
'example_wizapply.exe': Loaded 'E:\TA\Baru\FIX\oculus+ovr\ovrvisionsdk_windows_19022014\ovrvisionsdk_windows\example_vs2008\x64\Debug\example_wizapply.exe', Symbols loaded.
'example_wizapply.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\sechost.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\setupapi.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\winmm.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\cfgmgr32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\ucrtbase.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\ovrvision64d.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\opengl32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\win32u.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\gdi32full.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\combase.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\winmmbase.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\msvcp_win.dll', Cannot find or open the PDB file.
'example_wizapply.exe': Loaded 'C:\Windows\System32\bcryptprimitives.dll', Cannot find or open the PDB file.
The thread 'Win64 Thread' (0x1c50) has exited with code -1073741701 (0xc000007b).
The thread 'Win64 Thread' (0xa74) has exited with code -1073741701 (0xc000007b).
The thread 'Win64 Thread' (0x19b4) has exited with code -1073741701 (0xc000007b).
The program '[9124] example_wizapply.exe: Native' has exited with code -1073741701 (0xc000007b).
【问题讨论】:
-
顺便说一句,无法找到或打开 PDB 文件很可能无法帮助您调试此问题。这只是意味着您没有为某些 microsoft dll 安装调试符号。除非您需要调试 dll 的功能,否则您通常不需要它。必须成功加载程序才能真正使用此信息。