ocx控件注册失败常见问题

注册及卸载:
regsvr32 name.ocx                 //注册name.ocx控件
regsvr32 /u name.ocx             //解除name.ocx控件的注册

 

一、        error MSB8011: Failed to registeroutput. Please try enabling Per-user Redirection or register the component froma command prompt with elevated permissions.(Visual studio编译时)

Or:

ocx控件注册失败常见问题_第1张图片


regsvr32手动注册时)

dependency查看:Error: At least one required implicit or forwarded dependency was notfound. 

原因:缺少依赖库.

 

二、regsvr32手动注册时


解决方案:以“管理员”权限运行cmd。

你可能感兴趣的:(C++)