64位资源编译器! [英] Ressource compiler in 64-bit!

查看:94
本文介绍了64位资源编译器!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VC ++而且我们所有的项目都是x86 / x64混合项目,它工作正常但只有一件小事。



我对rc文件有一些问题,在64位中没有定义来检测我们是64位还是32位。



我尝试在文件版本中自动设置架构
属性,所以我只需要在一个所有项目
已包含的rc文件中设置它。我尝试了以下所有宏,其中没有为
为rc.exe定义:

_WIN64,_AMD64_,WIN64,_M_AMD64,_M_X64



所有这些宏都在我的cpp文件中工作,但不在rc文件中。我
可以手动执行a / D"_WIN64"对于64位的rc命令行,但我不想这样做,如果我这样做,我需要手动编辑一百美元b $ b的项目。

< br>
这是一个错误吗?或者rc.exe使用不同的宏名称?



感谢您的帮助。



Microsoft Visual Studio 2005

版本8.0.50727.42

Microsoft .NET Framework

版本2.0.50727

I'm using VC++ and all our project are x86/x64 hybrid project, it's working fine but for one little thing.

I have some problem with the rc file, in 64-bit there's NO define to detect if we are in 64-bit or 32-bit.

I try to automaticly set the architecture in the file version properties, so I only need to set it in one rc file that all project already include. I tried all the following macro and NONE of them are defined for rc.exe :
_WIN64, _AMD64_, WIN64, _M_AMD64, _M_X64

All those macro are working in my cpp file but not in the rc file. I can manually do a /D "_WIN64" for the rc command line in 64-bit but I don't want to do that, if I do that I'll need to edit manually hundred of projects.

So is it a bug? or rc.exe use different macro name?

Thanks for helping.

Microsoft Visual Studio 2005
Version 8.0.50727.42
Microsoft .NET Framework
Version 2.0.50727

推荐答案

任何人都可以帮助??



我注意到我的线程从Visual Studio 2005转移到vista SDK
...我不认为这是Vista SDK问题,我甚至没有Vista SDK
(或者它是否与VS2005一起安装?)。
Anyone can help??

I noticed that my thread was moved from Visual studio 2005 to vista SDK ... I don't think it's a Vista SDK issue, I don't even have Vista SDK (or do I?? is it installed with VS2005?).


这篇关于64位资源编译器!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆