DDE Connection from D4GL
Posted in 1999
Hi Everyone! I am actually evaluating the 4Js Universal Compiler. All of our existing 4gl Code could be compiled without problems and the app's looks pretty good on the Windows Client. Now I'm trying to set up a DDE Connection to Excel as per description in the Userguide. But the DDE Connection will not work. None the less executing a Windows Application (Exel) with WinExec works properly. Here is the mentioned Code-fragment: #----------------------------------------------------------------------- COMMAND "Excel" "Export to Excel" LET h_err = DDEConnect("C:\\\\\\\\MSOFFICE\\\\\\\\EXCEL\\\\\\\\EXCEL", "Doc1") IF (NOT h_err) THEN CALL DDEGeterror() RETURNING err_mess ERROR "Error: ", err_mess CLIPPED END IF #----------------------------------------------------------------------- At runtime the following Error-Message occures: DdeConnect failed:NO_CONV_ESTABLISHED See also the mentioned Part of the 4GL-Server Log-File: -- Begin Logfile -- catch { set reterror [ catch { ddeclient ddeC:\\\\MSOFFICE\\\\EXCEL\\\\EXCEL_Tabelle1 C:\\\\MSOFFICE\\\\EXCEL\\\\EXCEL Tabelle1 } msgerror ] } fgl_Retrieve reterror 13165 fgl_Retrieve msgerror 13165 fgl_Error 24 "Error: DdeConnect failed:NO_CONV_ESTABLISHED" White 1 0 0 0 -- End Logfile -- Does anybody know, where the problem is hidden? Thanks for any hint! Walter Rossmann mailto:edv@stabil.at