Without bindevent/eventhandler, although I assume you could finally also get this running, you could simply use SendMessage() and/or Postmessage plus Bindevent to windows messages.
The idea is, your central procss starts the COM class with Createobject. Your GUI client grabs this object via getobject(), Via some method of the COM class you subscribe to it's messages by telling it your _vfp.hwnd or _screen.hwnd. It will store this hwnd in a property or cursor and send messages to the hwnd(s).
On the clientside again you can react to these windows messages by calling some method of the COM server, or retrieving some of it's properties.
The detailed ingredients are
a) Windows reserves a range of values for user defined messages (or notifications) and a range for app specific ones. See
Rading the range explainations, 0x8000 to 0x7ffff seems the right range for your case.
To use Bindevents for such windows notifications you could create a class based on Home()+"Samples\Solution\Europa\wmhandler.vcx"
To send messages use
You can send two values making that message more specific: wparam and lparam, which might be sufficient for a small set of event parameters you would want to pass on from the central COM class to the client.
But you could reduce this to just sending a message which means "some COM event" and then provide detailed event information within some of the public properties of the COM class.
You can use messageing even without having such a public COM class, but I'd combine these two techniques if you're not willing to spend more time on figuring out what your COM class needs to work with eventhandler().
And then you could also use MSMQ, you could also use DDE or winsock and some self defined protocol, shared memory, pipes, RPC. There are many ways of interprocess communications (
Bye, Olaf.