Hello,
I'm facing the following difficulty with a Remoting app which
communicates with an Unmanaged (VC6) app in a two-way manner.
I have done the direction from Framework to VC6 through WIN32-API
delegates, using FindWindow + PostMessage. This works fine.
But now I have to go the other way back: from the VC6 app to the
Framework, also by using PostMessage. What I have in mind is: create a
second remoting path with the Server at the Framework machine and let
its client run on the VC6 machine. This second Client will then
communicate with the first Client via the RemotableObject and pass the
PostMessage data.
In order to receive these PostMessage events I have to install the
WIN32 WindowProc event handler in the Framework app, written in C#.
My problem is the following: how must I implement this WIN32
WindowProc(UINT msg, WPARAM wparam, LPARAM lparam) on my Framework
machine?
Anybody have a code snippet as example?
Thank you very much!
Victor.