Hi!
In ths VFP2.EXE _VFP.AutoYield should be .T. and the event to intercept the terminating should be ON SHUTDOWN command. In the VFP1 just use the Windows API functions to send the WM_CLOSE Window event to the main window of VFP2.EXE.
Thats a brief description. Let me know if you want more details (which API functions you should use and how). I just have no much time yet to post more details...
>Is there a way I can have a running VFP1.exe application call to, or interrupt, or fire an event on another running VP2.exe application without having to use polling or semiphore files or such things?
>
>I would just like to have 1 send a string and fire an event in 2 asynchronously, without having 2 wait for it or look for it, or even know it is coming.
>
>TIA
>
>Al Allison
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.