装了64位系统,运行原来程序后出现以问题:
“myCamera.exe”: 已加载“C:\Users\worrywong\Documents\Visual Studio 2010\Projects\myCamera\Debug\myCamera.exe”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\ntdll.dll”,Cannot find or open the PDB file“myCamera.exe”: 已加载“C:\Windows\SysWOW64\kernel32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\KernelBase.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\user32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\gdi32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\msvcr100d.dll”,已加载符号。
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\opengl32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\glu32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\glut32.dll”,未使用调试信息生成二进制文件。
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\advapi32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\msvcrt.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\ddraw.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\winmm.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\sechost.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\rpcrt4.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\dciman32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\winmmbase.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\sspicli.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\cfgmgr32.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\devobj.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\cryptbase.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\bcryptprimitives.dll”,Cannot find or open the PDB file
“myCamera.exe”: 已加载“C:\Windows\SysWOW64\imm32.dll”,Cannot find or open the PDB file
程序“[12228] myCamera.exe: 本机”已退出,返回值为 0 (0x0)。
网上查的解决方案是:
参照:http://topic.csdn.net/u/20101108/14/49f2a594-8da2-4f5e-a01d-dd08b29f961b.html
总结如下:
原因是程序输出的地方是系统而不是vs2010。
Ctrl + F5运行就可以了
或者在cmd命令行下执行程序。
或者
把"Microsoft Symbol Servers"勾上(Tools -> Options -> Debugging -> Symbols).