p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Pro VB.NET 2002/2003 (http://p2p.wrox.com/forumdisplay.php?f=74)
-   -   Making a COM object in VB.NET (http://p2p.wrox.com/showthread.php?t=40552)

Cohadar March 30th, 2006 06:49 AM

Making a COM object in VB.NET
I made a COM object in VB.NET that is called from external application
checked "register for COM interoperability" in the build properties,
and when I start external application that calls my .dll
(throught "start external program" in configuration properties)
by compiling my .dll it all works fine.


When I explicitly start that application it fails to load my .dll
because it is not a self-registering COM object.
.NET does not make self-registering COM dll's,
when you check "register for COM interoperability" visual studio
does the registration but does not put code for DLLRegisterServer
in .dll

So basically I need a way to make a wrapper self-registering .dll
around my .NET dll

I also can't escape the feeling that there should be an option in Visual Studio for this (althought clearly there is not)

All times are GMT -4. The time now is 03:39 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.