PRB: Unicode ChooseColor() Help Button Crashes Common Dialog

ID: Q102026

The information in this article applies to:

SYMPTOMS

A Unicode compiled program, or a program that explicitly calls the ChooseColorW() function, may suffer an access violation in the common dialog boxes if the Help button in the ChooseColor() dialog box is chosen.

CAUSE

This problem may not be 100-percent reproducible. Because of the way that the program loader loads code into memory, a certain address referenced by the common dialog box Help button logic may or may not be valid depending on what other applications have been run, what application is calling ChooseColorW(), and the order in which these programs are run.

WORKAROUND

The following are suggested workarounds:

Additional query words: Keywords : kbCmnDlg kbCmnDlgColor kbNTOS kbGrpUser

Last Reviewed: December 24, 1998