D
Daniel Wilson
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
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