链接不对,提示找不到 __ftol2

hbs_biscuit 2003-03-21 02:42:24
我在编译《com技术内幕》的七巧板 例程的 GLwrld组件时提示
glaux.lib(tk.obj) : error LNK2001: unresolved external symbol __ftol2

我翻遍了 msdn 也没有找到解释,谁能告诉我答案???
...全文
75 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hbs_biscuit 2003-03-28
  • 打赏
  • 举报
回复
com技术内幕是很早的一本书,一定不是用vc7的库
kingzai 2003-03-21
  • 打赏
  • 举报
回复
I think This issue is caused by that the stub lib was compiled by VC7 compiler,
which adds the __ftol2 dependency. If you are compiling your project with
VC7, that's no problem; if you compile it with VC6, you get the linker
error.

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧