The information in this article applies to:
SUMMARYBy default, a dynamic data exchange (DDE) conversation is processed synchronously. This means the application waits for a response from the other application before continuing execution.
MORE INFORMATIONThe DDERequest(), DDEExcute(), and DDEPoke() commands support asynchronous transactions. These commands have additional parameters in the form of user- defined functions (UDFs) that are required for asynchronous transactions. RUN/N c:\winword\WINWORD.EXE channel=DDEInitiate('WinWord','System') IF channel>=0 =DDEExecute(channel,'[FileOpen "c:\winword\GRAPHICS.DOC"]',; 'asyncUDF') WAIT WINDOW "Calling asynchronous UDF" ENDIF =DDETerminate(channel) PROCEDURE asyncUDF && asynchronous transaction UDF PARAMETERS mChannel, mAction, mItem, mData, mFormat, mTransnum DISPLAY MEMORY LIKE m* WAIT RETURN .T. NOTE: The syntax for DDEExecute() is incorrect on page L3-363 of the FoxPro for Windows version 2.6 "Language Reference" manual and in the help file. The correct syntax is
where <expC2> is the name of a UDF. Additional query words: Keywords : kbinterop Version : Platform : Issue type : kbhowto |
Last Reviewed: August 23, 1999 |