It would be "kool" to model this using "just" VFP programs - one the "sender" and the other the "receiver". I used "sendmessage" once (off an example) to tell a Perl CGI routine that a PGP Encryption had completed. Did not really think about how or what was going on. Long time ago on a 486D (doze were da daze!).
As I remember there were a couple of other API's needed. One was sleep - had to stall while waiting for PGP to finish.
I have been waiting since last night for Sergey to follow up on this thread!
>Trying to figure out how to talk directly between applications without using file access.
>
>Also trying to understand how SendMessage works.
>
>Geoff
>
>>Geoff,
>>
>>What're you trying to do?
>>
>>>Hi
>>>
>>>I am trying to send a message via the API and am having a little trouble understanding just what happens. I managed to find where the main constants are found but am not sure how to link what whith what event code
>>>
>>>What I want to do is to send a message for the target app and based on the parameters sent perform a specified action.
>>>
>>>I tried placing code in the Activate event and then using the following
>>>
>>>#define WM_ACTIVATEAPP 0x001C
>>>DECLARE INTEGER SendMessage IN user32;
>>> INTEGER hWnd,;
>>> INTEGER Msg,;
>>> INTEGER wParam,;
>>> INTEGER lParam
>>>
>>>
>>>=SendMessage(hwndnext, WM_ACTIVATEAPP,0,0)
>>>
>>>
>>>but didn't seem to do anything.
>>>
>>>Could some kind soul point me in the right direction?
>>>
>>>
>>>Regards
>>>Geoff Scott
Imagination is more important than knowledge