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

using .Net component in COM component

P: 3
Hi

Is it possible to use .Net component in COM component without registering it(.Net component ) in registery??
How can i use .Net component in COM component without registering it(.Net component ) in registery??

Regards
Sep 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: 3
Hi

Is it possible to use .Net component in COM component without registering it(.Net component ) in registery??
How can i use .Net component in COM component without registering it(.Net component ) in registery??

Regards
If it's not in the GAC or Registry, then there's likely no way for the .NET Framework to tell where the DLL is. In fact, EVERY COM component needs to be registered to work, since it uses the GUID in the registry to find it.


You need to deal with COM Interop. What you want for your Assembly is a COM Callable Wrappter (CCM):
http://msdn2.microsoft.com/en-us/library/f07c8z1c.aspx

Read this article and the related ones to find out what you can and can't do.
Sep 21 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.