BUG: TTM_GETTEXT Message Zeros the Passed Pointer

ID: Q186177

The information in this article applies to:

SYMPTOMS

When sending a TTM_GETTEXT message to a ToolTip control, a first-chance exception occurs and the lpszText member of the TOOLINFO structure is set to NULL. This only occurs on Windows 98 or any 32-bit platform that has Internet Explorer 4.01 SP1 installed.

CAUSE

There is a bug that occurs in the processing of this message that inadvertently sets the lpszText member of the TOOLINFO structure to NULL, rather than setting the first character of lpszText to zero.

RESOLUTION

You can work around this bug in one of the following ways, depending on the platform you are running on:

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

This bug is only present in version 4.72.3110.x of COMCtl32.dll. This version is included with Internet Explorer 4.01 Service Pack 1 and Windows 98.

Under Windows 95 and Windows 98, this bug affects the TTM_GETTEXTA message.

Under Windows NT, this bug affects the TTM_GETTEXTW message. This bug does not affect the TTM_GETTEXTA message under Windows NT.

Additional query words:

Keywords          : kbCtrl kbGrpUser 
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: December 17, 1998