如何解决向VS2010添加.dll组件的问题 [英] how can I solve the problem of add .dll component to VS2010

查看:131
本文介绍了如何解决向VS2010添加.dll组件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有



我在我的项目中使用.dll组件,而在VS2010中添加.dll时发生错误



错误:无法添加对'VS2010 \myproj \Clips32.dll'的引用。请确保该文件是可访问的,这是一个有效的程序集或COM组件。



我不知道如何解决这个问题。



感谢每一个

hi all

I am using a .dll component in my project while adding .dll in VS2010 an error occurred

error: a reference to 'VS2010\myproj\Clips32.dll' could not be added. please make sure that the file is accessible and that is a valid assembly or COM component.

I don't know how can I solve this problem.

thanks every one

推荐答案

请检查程序集是否为COM组件。如果是,请使用regsvr32命令注册程序集。之后,您可以从COM引用中添加程序集。
Please check if the assembly is COM component. IF so register the assembly using regsvr32 command. After that you can add the assembly from the COM reference.


这篇关于如何解决向VS2010添加.dll组件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆