Ends a DDE server application program that DDE_APP_BEGIN starts.
DDE.APP_END (AppID)
Parameter |
Type |
Description |
---|---|---|
AppID |
PLS_INTEGER |
Application identifier that is returned from DDE.APP_BEGIN |
The DDE server application can also be terminated in standard Microsoft Windows fashion, such as by double-clicking the Control menu.
To terminate a DDE server application, the DDE server application must have been previously started by calling DDE.APP_BEGIN.
DECLARE
AppID PLS_INTEGER:
BEGIN
/* Start Microsoft Excel with spreadsheet emp.xls loaded. */
AppID := DDE.App_Begin('C:/excel/excel.exe C:/emp.xls'
DDE.APP_MODE_NORMAL);
...
/* End Microsoft Excel program. */
DDE.App_End(AppID);
END;