Pass object from VB6 to .NET Windows Service

  • Thread starter Thread starter Oleg Ogurok
  • Start date Start date
O

Oleg Ogurok

Hi all,

In my VB6 code I need to be able to pass a COM object to a Windows Service
written in .NET. What's the best/eaisest way? I understsand things like
Remoting are not available in COM (VB6).

I tried using MSMQ but the object's class is not persistable, and I don't
have the source code for it anyway. Is there still a way to use MSMQ?

Any help is greatly appreciated.

-Oleg.
 
You want to look into COM Callable Wrappers (CCW) which wrap the .NET
assembly in a proxy class that makes the .NET assembly available in COM.
 
Back
Top