We are writing a C++ .NET server that needs to raise events to its VB6
client. We have found the MSDN article that explains raising these events in
C# or VB.NET --
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconraisingeventshandledbycomsink.asp
How do we translate the source to C++? Everything we try fails.
The problem is that C++ requires that we instantiate the class, in this case
the delegate, before calling a method on it. The constructor for the
delegate requires a pointer to the object handling the events -- which is
the VB client.
What am I missing? How is this done?
Thanks.
Daniel Wilson
Application Developer, http://www.Embtrak.com
Ashok Chinnappa - 27 May 2004 21:41 GMT
Hi
did you try "__raise" method of Managed C++.
The examples are in the MSDN
hope this helps
----- Daniel Wilson wrote: ----
We are writing a C++ .NET server that needs to raise events to its VB
client. We have found the MSDN article that explains raising these events i
C# or VB.NET -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht
l/cpconraisingeventshandledbycomsink.as
How do we translate the source to C++? Everything we try fails
The problem is that C++ requires that we instantiate the class, in this cas
the delegate, before calling a method on it. The constructor for th
delegate requires a pointer to the object handling the events -- which i
the VB client
What am I missing? How is this done
Thanks
Daniel Wilso
Application Developer, http://www.Embtrak.co