INF: Using the SDK CLIENT Sample with Commercial Applications

ID Number: Q71225

3.00

MS-DOS

Summary:

When the Client application included with the Windows Software

Development Kit (SDK) version 3.00 is used with Word for Windows or

with Excel, the System topic is available but no documents. This

problem is caused by the limit that the Client application has placed

on the length of the strings used in DDE conversations.

More information:

The length of the strings the Client and Server sample applications

use is limited to 8 characters.

To correct this limitation, it is necessary to modify CLIENT.H and

SERVER.H. The symbolic constants listed below must be #defined to have

values larger than 8; 14 was chosen as an example. After modifying

these variables the applications must be rebuilt.

#define APP_MAX_SIZE 14

#define TOPIC_MAX_SIZE 14

#define ITEM_MAX_SIZE 14

#define VALUE_MAX_SIZE 14

#define EXECUTE_STRING_MAX_SIZE 100

#define CONV_MAX_COUNT 14

#define ITEMS_PER_CONV_MAX_COUNT 5