Reference COM DLL without registering

G

Guest

I have a DLL that was compiled from VB6 that I want to reference in a .NET
2.0 C# project.

I can add it as a reference if I first register it using regsvr32

But I want to be able to send the project to other computers (along with a
copy of the DLL) where the DLL is not registered and still have it compile.
But

1. I can't add the DLL as a reference unless it is registered.
2. If I add it and the set its property Isolated to True, it still won't
compile on computers where it is unregistered.

I have read the following links and I still can't figure it if or how this
can be done. Can anyone provide simple instructions to do what I want here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsetup/html/dlldanger1.as
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dplywithnet.asp
http://msdn.microsoft.com/msdnmag/issues/1000/metadata/default.aspx
 

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