vs2010怎样把atl项目编译成x64?

北京的雾霾天 2012-05-15 09:16:06
使用Vs2010可以生成x86的,但是x64的总有问题。请教怎样可以编译成x64的?
...全文
545 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
北京的雾霾天 2012-05-23
  • 打赏
  • 举报
回复
找到了解决方法,引Microsoft的某贴中的回复:

Hi,

Thanks for reporting this issue. I was able to reproduce this issue internally in our labs and it indeed looks like a bug in our product. To workaround this issue can you change the following settings for the ProxyFileInfo project (by right clicking and bringing up the property pages) "MIDL -> Target Environment" and set it to "Microsoft Windows 64-bit on x64 (/env x64)".

The above change should resolve your issue. Please let us know if that resolves the issue.

Thanks,
Amit Mohindra
Visual C++ Team

https://connect.microsoft.com/VisualStudio/feedback/details/578130/vs2010-bug-unresolved-external-symbol-proxyfileinfo
北京的雾霾天 2012-05-18
  • 打赏
  • 举报
回复
错误 150 error LNK1120: 1 个无法解析的外部命令 XXX.dll XXX
错误 149 error LNK2001: 无法解析的外部符号 Atl2_ProxyFileInfo XXX\xdlldata.obj xxx


怎样改?win32编译没错,x64平台就错了。就这两个错。
Saleayas 2012-05-17
  • 打赏
  • 举报
回复
IDL 编译选择 x64
zgl7903 2012-05-17
  • 打赏
  • 举报
回复
有问题了改啊 那你还想怎样?
北京的雾霾天 2012-05-17
  • 打赏
  • 举报
回复
这么简单就不问了,这样设置后问题一堆啊。
zgl7903 2012-05-16
  • 打赏
  • 举报
回复
项目属性 配置管理器 活动解决方案平台 新建 ……
北京的雾霾天 2012-05-16
  • 打赏
  • 举报
回复
高人指点啊。。。

3,248

社区成员

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

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