Microsoft KB Archive/61106

PRB: OutputDebugString Comments Section Documentation Error ID Number: Q61106

3.00 WINDOWS docerr

Summary:

SYMPTOMS The OutputDebugString function is documented incorrectly on page 4-326 of the “Microsoft Software Development Kit Reference Volume 1” for version 3.0. The “Comments” section incorrectly states that this function is available only in the debugging version of Windows.

RESOLUTION/STATUS The documentation should state that OutputDebugString messages are displayed under both versions of Windows.

Messages that should be written only for debugging purposes should be placed in a conditional compilation block, such as the following:


 * 1) ifdef DEBUG OutputDebugString(lpMessage); #endif

Microsoft has confirmed that this error occurs on page 4-326 of the “Microsoft Software Development Kit Reference Volume 1” for version 3.0. We will post new information here when the documentation has been corrected.