Microsoft KB Archive/67651

Guide to Programming DDE Sample Code Error

PSS ID Number: Q67651 Article last modified on 11-05-1993

3.00 MS-DOS

= SUMMARY =

Chapter 22 of the “Microsoft Windows Software Development Kit Guide to Programming” discusses the issues involved with implementing Dynamic Data Exchange (DDE). The code on page 22-13 has an erroneous line. The following is a code excerpt from the middle of the page: if (bRelease) { GlobalFree(hPokeData); GlobalDeleteAtom(atomItem); **** DELETE THIS LINE } This line deletion is necessary because the code on this page is run on the DDE server. The server cannot delete the atom because the DDE client application is allowed to use the atom again. This is explained in the documentation of the WM_DDE_ACK message, on pages 15-6 through 15-8 in the “Microsoft Windows Software Development Kit Reference Volume 2.”

Additional reference words: 3.00 KBCategory: KBSubcategory: UsrDdeOtherapps Copyright Microsoft Corporation 1993.