本站首页    管理页面    写新日志    退出


«October 2025»
1234
567891011
12131415161718
19202122232425
262728293031


公告

戒除浮躁,读好书,交益友


我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:邢红瑞的blog
日志总数:523
评论数量:1142
留言数量:0
访问次数:9720007
建立时间:2004年12月20日




[c++]"Project : error PRJ0050: 未能注册输出。请确保您有修改注册表的相应权限"错误的解决
原创空间,  软件技术,  电脑与网络

邢红瑞 发表于 2007/9/24 19:49:39

 使用vs 2005写ocx控件,一个字 爽,遇到Project : error PRJ0050: 未能注册输出。请确保您有修改注册表的相应权限错误的解决 很不爽。看了半天,我是管理员权限,删除debug也不行。Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry真是麻烦。只好一步一步看作了哪些改动,发现调用了一个dll。这个lib我已经#pragma comment(lib,"tmdApi.lib"),删除dll的调用就行,考虑一下,只好把dll cpoy到output directory目录就行了。所有第三方的dll放在一起,然后注册。发现在当前目录, %windir%,  %windir%\system32都可以。微软也够害人的http://msdn2.microsoft.com/en-us/library/ms235584(vs.80).aspxProject Build Error PRJ0050 Error MessageFailed 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 of the build (dll or .exe). You need to be logged on as an administrator to modify the registry. If you are building a .dll, you can try to register the .dll manually using regsvr32.exe, this should display information about why the build failed. If you are not building a .dll, look at the build log for the command that causes an error. 


阅读全文(9582) | 回复(0) | 编辑 | 精华
 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.668 second(s), page refreshed 144794887 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号