error PRJ0050: 未能注册输出。请确保您有修改注册表的相应权限错误的解决(转)

使用vs 2005写ocx控件,一个字 爽,遇到Project : error PRJ0050: 未能注册输出。请确保您有修改注册表的相应权限错误的解决 很不爽。
看 了半天,我是管理员权限,删除debug也不行。Project : error PRJ0050: Failed to registeroutput. Please ensure you have the appropriate permissions to modifythe registry真是麻烦。
只好一步一步看作了哪些改动,发现调用了一个dll。这个lib我已经#pragmacomment(lib,"tmdApi.lib"),删除dll的调用就行,考虑一下,只好把dll cpoy到outputdirectory目录就行了。所有第三方的dll放在一起,然后注册。
发现在当前目录, %windir%,  %windir%\system32都可以。
微软也够害人的
http://msdn2.microsoft.com/en-us/library/ms235584(vs.80).aspx
Project Build Error PRJ0050

Error Message
Failed to register output. Please ensure you have the appropriate permissions to modify the registry.

The Visual C++ build system was not able to register the output ofthe build (dll or .exe). You need to be logged on as an administratorto modify the registry.

If you are building a .dll, you can try to register the .dllmanually using regsvr32.exe, this should display information about whythe build failed.

If you are not building a .dll, look at the build log for the command that causes an error.

我自己碰到这个问题真是百思不得其解,看到别人的的博客这么弄,居然成功了,很感激,同时拿出来分享一下,有需要的就顶顶吧!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值