当前位置: 代码迷 >> .NET组件控件 >> ActiveX控件编译异常,非高手不能解决
  详细解决方案

ActiveX控件编译异常,非高手不能解决

热度:606   发布时间:2013-02-25 00:00:00.0
ActiveX控件编译错误,非高手不能解决
用MFC的一个防键盘钩子的ActiveX控件
编译时出现以下错误:

1>     Creating library .\Debug\ocxHxedit.lib and object .\Debug\ocxHxedit.exp
1>  ocxHxedit.vcxproj -> F:\VS_PORJECT\ocxHxedit\.\Debug\ocxHxedit.dll
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: The command "regsvr32 /s /c "F:\VS_PORJECT\ocxHxedit\.\Debug\ocxHxedit.dll" 
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: echo regsvr32 exec. time > ".\Debug\regsvr32.trg" 
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: :VCEnd" exited with code 3.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

我想应该是注册时有问题,但是我的注册函数是完全参照MSDN的规范写的,在其他我写的程序上都能正常工作(这个项目是我从网上下的)。求高手指点。
------解决方案--------------------------------------------------------
盯起,求高手解答
------解决方案--------------------------------------------------------
http://blog.csdn.net/ayan200112/article/details/6918948
  相关解决方案