Groups | Blog | Home
all groups > dotnet interop > november 2005 >

dotnet interop : .NET to COM


Yama
11/23/2005 11:11:12 AM
Gentlemen,

I am considering writing a COM object I could use in a C++ 6.0 environment.
Is .NET Framework required to be installed on host machine when using my
..NET COM object? Or is there an automated way of only having to register the
mscorlib.dll? I would appreciate some enlightenment.

Thanks,

Yama

Phil Wilson
11/23/2005 11:24:49 AM
You need the .NET framework (best to use the one associated with your VS
version) to run your .NET code.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
[quoted text, click to view]

ssauer NO[at]SPAM intrinsyc.com
11/25/2005 9:07:40 AM
At the very least you will need to register the .NET component's
exported type library (TLB). This requires the use of the Assembly
Registration Tool "Regasm.exe" which comes with the .NET Framework.

Packaging an Assembly for COM:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconpackagingassemblyforcom.asp

Shane Sauer
J-Integra Interoperability Solutions
http://j-integra.intrinsyc.com/
high performance interop middleware for java, corba, com & .net
AddThis Social Bookmark Button