ActiveX EXE work
I have started a project using a main app and an ActiveX EXE app.
The main app needs to create/start multiple of the same ActiveX EXEs.
The ActiveX EXE is configured to run in its own memory space.
Using CreateObject and set as one thread per object.
The ActiveX EXE needs to use WithEvents but that is not allowed with an array of the ActiveX EXE.
There are only a few RaisEvent process that take place (no great communication speed needed between main and ActiveX EXE) but I need the ActiveX EXE to be able to signal the main app as required.
Also, I do not want to use a timer to poll all the ActiveX EXEs.
What else can I do to get the effect of WithEvents capability?
How do I do what I need?
|