// Header file for messages of DDEClient.cpp // // Author: Robert Matovinovic // Version: 0.02 // Date: 04.10.2006 // // // Strings for message boxes // const char ccMsgAsynchNotAllowed[]= "DCAllinOneCmd: Asynchronous transactions are not allowed. Function can only process synchronous transactions."; const char ccMsgCaption[] = "DDE Client DLL"; const char ccMsgCaptionCb[] = "DDE Client DLL: Callback Function"; const char ccMsgNoDataReturned[] = "No data was returned!"; const char ccMsgTransactionFailed[] = "Transaction failed!"; const char ccMsgTransactionSucceeded[] = "Transaction succeeded!"; const char ccMsgAppTerminatedConv[] = "Application terminated the conversation!"; const char ccMsgInitializeFailed01[] = "Could not initialize DDEML.DLL"; const char ccMsgInitializeFailed02[] = "DDEML ERROR: "; const char ccMsgInitializeSucceeded[] = "DDEML.DLL succeeded initialized!"; const char ccMsgConnectFailed[] = "DDE connection failed!"; const char ccMsgConnectFailed01[]= "Failure to connect to service '"; const char ccMsgConnectFailed02[]= "' with topic '"; const char ccMsgConnectFailed03[]= "'! Make sure that service application is up and running and service supports topic!"; const char ccMsgConnectSucceeded[] = "DDE connection succeeded!"; const char ccMsgConnectTerminated[] = "DDE connection terminated!"; const char ccMsgUnloadFailed[] = "Unloading of library failed!"; const char ccMsgLaunchApp01[] = "Could not find running server application: '"; const char ccMsgLaunchApp02[] = "'. Try to launch server application?"; const char ccMsgLaunchAppFailed01[] = "Could not launch server application: '"; const char ccMsgLaunchAppFailed02[] = "', a DDE connection can not be established."; const char ccMsgTopicNotFound01[] = "Service does not support topic '"; const char ccMsgTopicNotFound02[] = "', a DDE connection can not be established."; const char ccMsgRequestFailed01[] = "Request '"; const char ccMsgRequestFailed02[] = "' failed!"; const char ccMsgRequestFailed[]= "Request failed: "; const char ccErrStart[]= "*** Error: "; const char ccErrEnd[]= " ***"; const char ccErrorMsgToLong[] = " *** Message to long, cut off! ***"; const char ccDMLERRInitialize[]= "DdeInitialize DDEML ERROR: "; const char ccMsgHandleErr01[]= "Couldn't free string handle."; const char ccMsgHandleErr02[]= "Couldn't free data handle."; char szMsgDMLERRDisconnect[] = "DdeDisconnect DDEML ERROR: "; char szMsgDMLERRConnect[] = "DdeConnect DDEML ERROR: "; char szMsgDMLERRUninitialize[] = "DdeUninitialize DDEML ERROR: "; const char ccMsgNotEnoughMemory01[]= "Insufficient memory to assign DDE variables for conversation."; const char ccMsgNotEnoughMemory02[]= "Insufficient memory to assign variables for accessing DDE data."; const char ccMsgGetMsgError[]= "Function GetMessage in DCAsynchTransactionCompleted caused an error."; const char ccMsgConvMaxError[]= "Maximum number of DDE conversations exceeded."; const char ccMsgCbAsynchRequestFailed[]= "Callback error: Asynchron request failed!"; const char ccMsgCbTransactionFailed[]= "Callback error: Transaction failed."; const char ccMsgCbWrongID[]= "Callback error: Transaction IDs don't match."; const char ccMsgNoWindowsMessage[]= "No windows message in queue to process transaction. "; const char ccMsgAsynchTransNotCompleted[]= "Could not complete asynchronous transaction."; const char ccMsgAsynchRequestNotCompleted[]="Could not complete asynchronous request. Maybe command is invalid."; const char ccMsgAbandonTransaction[]= "Abandon Transaction DDEML ERROR: "; const char ccDMLERR01[] = "A request for a synchronous advise transaction has timed out."; const char ccDMLERR02[] = "The response to the transaction caused the DDE_FBUSY flag to be set."; const char ccDMLERR03[] = "A request for a synchronous data transaction has timed out."; const char ccDMLERR04[] = "A DDEML function was called without first calling the DdeInitialize function, or an invalid instance identifier was passed to a DDEML function."; const char ccDMLERR05[] = "An application initialized as APPCLASS_MONITOR has attempted to perform a Dynamic Data Exchange (DDE) transaction, or an application initialized as APPCMD_CLIENTONLY has attempted to perform server transactions."; const char ccDMLERR06[] = "A request for a synchronous execute transaction has timed out."; const char ccDMLERR07[] = "A parameter failed to be validated by the DDEML. Some of the possible causes follow: The application used a data handle initialized with a different item name handle than was required by the transaction. The application used a data handle that was initialized with a different clipboard data format than was required by the transaction. The application used a client-side conversation handle with a server-side function or vice versa. The application used a freed data handle or string handle. More than one instance of the application used the same object."; const char ccDMLERR08[] = "Memory is low; advise, poke, or execute data may be lost, or the system may fail. A DDEML application has created a prolonged race condition (in which the server application outruns the client), causing large amounts of memory to be consumed."; const char ccDMLERR09[] = "A memory allocation has failed."; const char ccDMLERR10[] = "A client's attempt to establish a conversation has failed."; const char ccDMLERR11[] = "A transaction has failed."; const char ccDMLERR12[] = "A request for a synchronous poke transaction has timed out."; const char ccDMLERR13[] = "An internal call to the PostMessage function has failed."; const char ccDMLERR14[] = "An application instance with a synchronous transaction already in progress attempted to initiate another synchronous transaction, or the DdeEnableCallback function was called from within a DDEML callback function."; const char ccDMLERR15[] = "A server-side transaction was attempted on a conversation terminated by the client, or the server terminated before completing a transaction."; const char ccDMLERR16[] = "An internal error has occurred in the DDEML."; const char ccDMLERR17[] = "A request to end an advise transaction has timed out."; const char ccDMLERR18[] = "An invalid transaction identifier was passed to a DDEML function. Once the application has returned from an XTYP_XACT_COMPLETE callback, the transaction identifier for that callback function is no longer valid."; const char ccDMLERR19[] = "Memory is low; advise, poke, or execute data may be lost, or the system may fail.";