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

dotnet interop : Calling .net from COM (not the obvious)


EP
9/21/2005 9:15:07 AM
I know to call .net code from COM you regasm the assembly and so on, butt...

I have a situation where I need to call a .Net assembly from VBScript. The
problem is that the type I need to create does not have a default constructor,
and thefore is not exported by regasm.

Is there any possible way to access this type from COM?? Is there some kind
of reflection COM object available?

TDC
9/22/2005 5:57:08 AM
Create another .NET object that does have a default constructor that
can then invoke the paramaterized construcotr of the original object.
AddThis Social Bookmark Button