FORMS 4.5 and DDE

From: kirsten konopaski <kkonopa_at_symantec.com>
Date: 1996/03/26
Message-ID: <4j7h84$cs2_at_symiserver2.symantec.com>#1/1


Hi anyone,

I have a FORMS 4.5 app that launches a DDE server application(32bit) via FFI (WinExec).
I initiate the DDE conversation on a WHEN_BUTTON_PRESSED trigger, and immediately following perform a DDE.REQUEST. My code is as follows:

    v_DDEid := DDE.Initiate('DDEServ', 'CTI');     DDE.Request (v_DDEid, 'String1', v_buf, DDE.CF_TEXT, 3000);     v_alert_resp := alert_response('Got DDE string: ' || v_buf);     DDE.TERMINATE(v_DDEid);

The problem? It doesn't seem to act 'synchronously', and doesn't execute the alert_response upon the _first_ button click. On the second, it acts fine and executes quite quickly.

I do have a timeout of 3000 milliseconds, and sit and wait forever, if I don't hit the button a second time, it acts as if the DDE.INITIATE message was never sent.

Any ideas?
Thanks,
Kirsten Received on Tue Mar 26 1996 - 00:00:00 CET

Original text of this message