VC++ 错误 - 无法打开文件“odbccp32.libcomctl32.lib”
Compiling...
StdAfx.cpp
Compiling...
MotleyFool.cpp
StockBar.cpp
EditQuote.cpp
MFToolbar.cpp
ReflectionWnd.cpp
Generating Code...
Linking...
LINK : fatal error LNK1104: cannot open file "odbccp32.libcomctl32.lib"
Error executing link.exe.
MotleyFool.dll - 1 error(s), 0 warning(s)
我正在尝试开发一个 IE 工具栏。 机智的帮助。
Compiling...
StdAfx.cpp
Compiling...
MotleyFool.cpp
StockBar.cpp
EditQuote.cpp
MFToolbar.cpp
ReflectionWnd.cpp
Generating Code...
Linking...
LINK : fatal error LNK1104: cannot open file "odbccp32.libcomctl32.lib"
Error executing link.exe.
MotleyFool.dll - 1 error(s), 0 warning(s)
am trying to develope a IE toolbar. wit the help of.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
空间缺失吗?
is space missing ?
听起来你的项目在库部分有一些错误的条目。 ODBC库实际上称为odbc32.lib(odbccp.dll是控制面板库),公共控件称为comctl32.lib。
Sounds like your project has got some bad entries in the libraries part. The ODBC library is actually called odbc32.lib (odbccp.dll is the control panel library) and the common controls is called comctl32.lib.
您的库搜索路径不正确。 将这些文件所在的路径添加到您的库搜索路径中。 在 VS2008 中,转到 Tools->Options ,Undser Projects and Solutions 选择 VC++ 目录。 然后在组合框中选择库文件并设置正确的路径。
Your library search path is not correct. Add the path where these files exist to your library search path. In VS2008, goto Tools->Options , Undser Projects and Solutions select VC++ directories. Then in the combo box select library files and set the proper path.
听起来您使用的是较旧的 Visual C++ Express,其中不包含 Platform SDK。 你可以在这里下载:
http://www.microsoft.com/downloads/details.aspx microsoft.com/downloads/details.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en
It sounds like you're using an older Visual C++ Express, where the Platform SDK was not included. You can download it from here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en