do i need to register VB6 com dll?

M

Mullin Yu

i write a c# application with reference to a VB6 com dll by using Add
Reference -> COM

i found an Interop.xxxx.dll has been created at the build directory.

it works fine at my development machine, but when i deploy it to another
machine, it reports can't find the classid. do i still need to register the
VB6 com dll at the deployment machine. if yes, what's the use of the
Interop.xxxx.dll file then?

thanks!
 
J

Jan Tielens

Yes, you need to register the VB6 component.

The interop dll is used to provide communication from the .NET application
with the COM component. You can't use COM components directly from .NET, you
need a wrapper class.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 

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