By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,996 Members | 1,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,996 IT Pros & Developers. It's quick & easy.

Reference COM DLL without registering

P: n/a
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/de...dlldanger1.asp
http://msdn.microsoft.com/library/de...plywithnet.asp
http://msdn.microsoft.com/msdnmag/is...a/default.aspx

May 12 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
It sounds like you're probably aiming to try registration-free COM. If so,
http://msdn.microsoft.com/msdnmag/is...04/RegFreeCOM/ would probably be
the best place to start.
"Dave Booker" <db******@newsgroup.nospam> wrote in message
news:FD**********************************@microsof t.com...
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/de...dlldanger1.asp
http://msdn.microsoft.com/library/de...plywithnet.asp
http://msdn.microsoft.com/msdnmag/is...a/default.aspx

May 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.