“Loaded ’D:\WINDOWS.0\system32\kernel32.dll’, no matching symbolic information found.“
通常使用VC6.0的时候,安装过后在开始菜单中有:
Microsoft Visual Studio 6.0-> Tools->Windows NT Symbols Setup,通过这个可以安装SYMBOL文件,但是VC6.0中自带的很有限,通常还需要你手动的把安装的SYMBOL文件所在的路径加入到"环境变量"中的LIB选项中,通常表示的意思是:编译过程已经通过,但是运行的时候,连接器却不能为程序找到其需要使用的SYMBOL表中定义的SYMBOL
使用WINDOWS 2000系统的用户(当然是指编程的了)可以通过下面的链接来下载WINDOWS2000 SYMBOL安装包:
http://msdl.microsoft.com/download/symbols/packages/windows2000/sp4/w2ksp4sym_cn.exe (需要先装这个)
http://msdl.microsoft.com/download/symbols/packages/windows2000/SP4.SRP/Windows2000-KB891861-x86-Symbols-CHS.EXE (这个是上面的SP了,从后面的K......命名方式也可以看出来要后装这个)
最后,需要把你安装到的路径增加到系统的LIB环境变量中,这样,程序再连接时就可以找到SYMBOL定义了
另外,我发现另1个有5个包的好像不行,起码有些东西不知道MS怎么把这些SYMBOL文件分包组合的,反正有的时候就是没有上面的包效果好
不信,你可以去http://www.microsoft.com/windows2000/downloads/tools/symbols/default.asp安装试试,注意版本
===================================================================
转贴一篇+致谢:http://www.cnblogs.com/flying_bat/archive/2006/10/27/541665.html
WinDbg for Windows
WinDbg for Windows, 32bit version 6.6.7.5 [15.2MB]
http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.6.07.5.exe
WinDbg for Windows, 64bit Itanium version 6.6.7.5 [19.9MB]
http://msdl.microsoft.com/download/symbols/debuggers/dbg_ia64_6.6.07.5.exe
WinDbg for Windows, 64bit x86 version 6.6.7.5 [12.6MB]
http://msdl.microsoft.com/download/symbols/debuggers/dbg_amd64_6.6.07.5.exe
Windows Server 2003 symbols with no Service Pack
Itanium checked symbols, all languages [123MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/windows2003.ia64.chk.rtm.symbols.exe
Itanium retail symbols, all languages [105MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/windows2003.ia64.fre.rtm.symbols.exe
x86 checked symbols, all languages [163MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003.x86.chk.rtm.symbols.exe
x86 retail symbols, all languages [168MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003.x86.fre.rtm.symbols.exe
Windows Server 2003 with Service Pack 1 symbols
Itanium-based checked symbols, all languages [123MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003_sp1.ia64.chk.rtm.symbols.exe
Itanium-based retail symbols, all languages [102MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003_sp1.ia64.fre.rtm.symbols.exe
x64-based checked symbols, all languages [113MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003_sp1.amd64.chk.rtm.symbols.exe
x64-based retail symbols, all languages [123MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003_sp1.amd64.fre.rtm.symbols.exe
x86 checked symbols, all languages [146MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003_sp1.x86.chk.rtm.symbols.exe
x86 retail symbols, all languages [153MB]
http://msdl.microsoft.com/download/symbols/packages/windows2003/Windows2003_sp1.x86.fre.rtm.symbols.exe
Windows XP symbols with no Service Pack
IA-64 checked symbols, all languages [116MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/windowsxp.ia64.chk.rtm.symbols.exe
IA-64 retail symbols, all languages [95MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/windowsxp.ia64.fre.rtm.symbols.exe
x86 checked symbols, all languages [147MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/windowsxp.x86.chk.rtm.symbols.exe
x86 retail symbols, all languages [149MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/windowsxp.x86.fre.rtm.symbols.exe
Windows XP with Service Pack 1 and Service Pack 1a symbols
Itanium checked symbols, all languages [124MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/xpsp1sym_ia64_chk.exe
Itanium retail symbols, all languages [101MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/xpsp1sym_ia64.exe
x86 checked symbols, all languages [168MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/xpsp1sym_x86_chk.exe
x86 retail symbols, all languages [172MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/xpsp1sym_x86.exe
Windows XP with Service Pack 2 symbols
x86 checked symbols, all languages [188MB]
http://msdl.microsoft.com/download/symbols/packages/windowsxp/WindowsXP-KB835935-SP2-Debug-slp-Symbols.exe
x86 retail symbols, all languages [195MB]---------------俺用的XP-SP2的这个,呵呵!!
http://msdl.microsoft.com/download/symbols/packages/windowsxp/WindowsXP-KB835935-SP2-slp-Symbols.exe