1 | // Header file for messages of DDEClient.cpp |
---|
2 | // |
---|
3 | // Author: Robert Matovinovic |
---|
4 | // Version: 0.02 |
---|
5 | // Date: 04.10.2006 |
---|
6 | // |
---|
7 | // |
---|
8 | // Strings for message boxes |
---|
9 | // |
---|
10 | const char ccMsgAsynchNotAllowed[]= "DCAllinOneCmd: Asynchronous transactions are not allowed. Function can only process synchronous transactions."; |
---|
11 | const char ccMsgCaption[] = "DDE Client DLL"; |
---|
12 | const char ccMsgCaptionCb[] = "DDE Client DLL: Callback Function"; |
---|
13 | const char ccMsgNoDataReturned[] = "No data was returned!"; |
---|
14 | const char ccMsgTransactionFailed[] = "Transaction failed!"; |
---|
15 | const char ccMsgTransactionSucceeded[] = "Transaction succeeded!"; |
---|
16 | const char ccMsgAppTerminatedConv[] = "Application terminated the conversation!"; |
---|
17 | const char ccMsgInitializeFailed01[] = "Could not initialize DDEML.DLL"; |
---|
18 | const char ccMsgInitializeFailed02[] = "DDEML ERROR: "; |
---|
19 | const char ccMsgInitializeSucceeded[] = "DDEML.DLL succeeded initialized!"; |
---|
20 | const char ccMsgConnectFailed[] = "DDE connection failed!"; |
---|
21 | const char ccMsgConnectFailed01[]= "Failure to connect to service '"; |
---|
22 | const char ccMsgConnectFailed02[]= "' with topic '"; |
---|
23 | const char ccMsgConnectFailed03[]= "'! Make sure that service application is up and running and service supports topic!"; |
---|
24 | const char ccMsgConnectSucceeded[] = "DDE connection succeeded!"; |
---|
25 | const char ccMsgConnectTerminated[] = "DDE connection terminated!"; |
---|
26 | const char ccMsgUnloadFailed[] = "Unloading of library failed!"; |
---|
27 | const char ccMsgLaunchApp01[] = "Could not find running server application: '"; |
---|
28 | const char ccMsgLaunchApp02[] = "'. Try to launch server application?"; |
---|
29 | const char ccMsgLaunchAppFailed01[] = "Could not launch server application: '"; |
---|
30 | const char ccMsgLaunchAppFailed02[] = "', a DDE connection can not be established."; |
---|
31 | const char ccMsgTopicNotFound01[] = "Service does not support topic '"; |
---|
32 | const char ccMsgTopicNotFound02[] = "', a DDE connection can not be established."; |
---|
33 | const char ccMsgRequestFailed01[] = "Request '"; |
---|
34 | const char ccMsgRequestFailed02[] = "' failed!"; |
---|
35 | const char ccMsgRequestFailed[]= "Request failed: "; |
---|
36 | const char ccErrStart[]= "*** Error: "; |
---|
37 | const char ccErrEnd[]= " ***"; |
---|
38 | const char ccErrorMsgToLong[] = " *** Message to long, cut off! ***"; |
---|
39 | const char ccDMLERRInitialize[]= "DdeInitialize DDEML ERROR: "; |
---|
40 | const char ccMsgHandleErr01[]= "Couldn't free string handle."; |
---|
41 | const char ccMsgHandleErr02[]= "Couldn't free data handle."; |
---|
42 | char szMsgDMLERRDisconnect[] = "DdeDisconnect DDEML ERROR: "; |
---|
43 | char szMsgDMLERRConnect[] = "DdeConnect DDEML ERROR: "; |
---|
44 | char szMsgDMLERRUninitialize[] = "DdeUninitialize DDEML ERROR: "; |
---|
45 | const char ccMsgNotEnoughMemory01[]= "Insufficient memory to assign DDE variables for conversation."; |
---|
46 | const char ccMsgNotEnoughMemory02[]= "Insufficient memory to assign variables for accessing DDE data."; |
---|
47 | const char ccMsgGetMsgError[]= "Function GetMessage in DCAsynchTransactionCompleted caused an error."; |
---|
48 | const char ccMsgConvMaxError[]= "Maximum number of DDE conversations exceeded."; |
---|
49 | const char ccMsgCbAsynchRequestFailed[]= "Callback error: Asynchron request failed!"; |
---|
50 | const char ccMsgCbTransactionFailed[]= "Callback error: Transaction failed."; |
---|
51 | const char ccMsgCbWrongID[]= "Callback error: Transaction IDs don't match."; |
---|
52 | const char ccMsgNoWindowsMessage[]= "No windows message in queue to process transaction. "; |
---|
53 | const char ccMsgAsynchTransNotCompleted[]= "Could not complete asynchronous transaction."; |
---|
54 | const char ccMsgAsynchRequestNotCompleted[]="Could not complete asynchronous request. Maybe command is invalid."; |
---|
55 | const char ccMsgAbandonTransaction[]= "Abandon Transaction DDEML ERROR: "; |
---|
56 | const char ccDMLERR01[] = "A request for a synchronous advise transaction has timed out."; |
---|
57 | const char ccDMLERR02[] = "The response to the transaction caused the DDE_FBUSY flag to be set."; |
---|
58 | const char ccDMLERR03[] = "A request for a synchronous data transaction has timed out."; |
---|
59 | 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."; |
---|
60 | 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."; |
---|
61 | const char ccDMLERR06[] = "A request for a synchronous execute transaction has timed out."; |
---|
62 | 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."; |
---|
63 | 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."; |
---|
64 | const char ccDMLERR09[] = "A memory allocation has failed."; |
---|
65 | const char ccDMLERR10[] = "A client's attempt to establish a conversation has failed."; |
---|
66 | const char ccDMLERR11[] = "A transaction has failed."; |
---|
67 | const char ccDMLERR12[] = "A request for a synchronous poke transaction has timed out."; |
---|
68 | const char ccDMLERR13[] = "An internal call to the PostMessage function has failed."; |
---|
69 | 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."; |
---|
70 | const char ccDMLERR15[] = "A server-side transaction was attempted on a conversation terminated by the client, or the server terminated before completing a transaction."; |
---|
71 | const char ccDMLERR16[] = "An internal error has occurred in the DDEML."; |
---|
72 | const char ccDMLERR17[] = "A request to end an advise transaction has timed out."; |
---|
73 | 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."; |
---|
74 | const char ccDMLERR19[] = "Memory is low; advise, poke, or execute data may be lost, or the system may fail."; |
---|