In principle I think you could do it using PInvoke to load the Dll, find the
CoGetClassObject entry point, call that to get an interface pointer, etc,
etc, (i.e. all the stuff that COM does for you if the Dll is registered).
This would probably be much easier with a C++ wrapper containing a mixture
of managed and unmanaged code, though.
Tony Jinks
to**@cleopatra.co.uk
"Vikas" <vi*******@yahoo.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hello,
I am trying to use a COM dll inside my C# application. But my production
environment would not allow be register the COM dll.
Are there any other options by which I can use a method inside this COM
dll without actually registering it using regsvr32?
The consumer of the application is a C# .aspx page.
Thanks,
Vikas
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!