Interoperabolity for com compone,t


A

archana

Hi all,

I have one COM dll which i want to use in .net application.

I don't know what security constraints are added to this dll.

But when i try to add reference of that dll into .net appliction i am
getting following error :-

A reference to test.dll'could not be added. This is not a valid
assembly or COM component. Only assemblies with extension 'dll' and
COM components can be referenced. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.

Can anyone tell me why can't i add test.dll into .net application.

any help will be truely appreciated.

thanks in advance.
 
Ad

Advertisements

W

Willy Denoyette [MVP]

archana said:
Hi all,

I have one COM dll which i want to use in .net application.

I don't know what security constraints are added to this dll.

But when i try to add reference of that dll into .net appliction i am
getting following error :-

A reference to test.dll'could not be added. This is not a valid
assembly or COM component. Only assemblies with extension 'dll' and
COM components can be referenced. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.

Can anyone tell me why can't i add test.dll into .net application.

any help will be truely appreciated.

thanks in advance.

Are you sure this DLL is a COM component? Did you register this component, using regsvr32
<yourdll>?

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top