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.

Re: Pass object from VB6 to .NET Windows Service by Scott

Scott
Mon Jul 26 16:59:43 CDT 2004

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.


"Oleg Ogurok" <oleg@ogurok.com.ihatespammers.ireallydo.co> wrote in message
news:10gau40mlbe9cc@corp.supernews.com...
> 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.
>
>
>
>