\VC\bin\rcdll.dll 无法找到资源编译器 DLL

andyflyrain 2010-03-01 10:49:14
\VC\bin\rcdll.dll
无法找到资源编译器 DLL。
请确保路径正确。
怎么解决啊
...全文
362 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
WizardK 2010-03-02
  • 打赏
  • 举报
回复
Posted by Microsoft on 2/16/2010 at 12:24 PM
I have a consistent repro now, and believe I have a workaround. Please let me know if you have any problem.

Option 1:
Although the .rc file (resource script) does not need to be updated to use it in the way you're used to in VS2010, it will not work the same way until an .aps file is created by a successful build of the script. Unfortunately until that file exists it will attempt to run the v6.0a compiler, and will have problems depending on your machine configuration.

Visual Studio corrects for this problem, but only if you build the resource as part of a solution or project. It is not merely enough to upgrade the project, you must then open the solution/project that include the .rc, clean and rebuild that project. After doing so, the .rc file should work the way you are accustomed to in VS2008.

Option 2:
NOTE: This will affect your Visual Studio 2008 installations, if you have any on your machine. Make this change at your own risk. Invoking "repair" from Add/Remove Programs in the Control Panel for your Visual Studio 2008 installations may fix any damage done to your system, but will cause Visual Studio 2010 to revert back to the same behavior you noticed in the first place.

If you absolutely can't or don't want to use a project/solution, unfortunately you need to update a path in the registry. You can merge the attached AddHKCU70a.reg key into your registry and it should solve the problem.

Option 3 (same warnings as option 2):

You can add the following keys into your registry yourself, if you are comfortable doing so:

[HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows]
"CurrentVersion"="v7.0a"
"CurrentInstallFolder"="C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\"

If you use option 2 or option 3, you will need to go in and delete the [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows] from your registry, and/or modify the values to point back to your v6.0a SDK install.

I am closing this connect issue as resolved for now. If this does not work for you, please let me know and I will try something else.

Thanks,

Mike Johnson
Software Development Engineer in Test
Windows C++ Team
andyflyrain 2010-03-01
  • 打赏
  • 举报
回复
VC\bin\路径下没有这个文件,要下载一个吗?
WizardK 2010-03-01
  • 打赏
  • 举报
回复
\VC\bin\路径下有这个文件吗?

参考:
http://social.msdn.microsoft.com/Forums/en/vssetup/thread/e1829b3f-8738-4fc7-b74f-990d8dfe0201

16,551

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • AIGC Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

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