The information in this article applies to:
SYMPTOMSAfter installing Visual C++ 6.0 and rebuilding an application, any call to the PropertySheet API will fail on systems that have the original Comctl32.dll file. These systems include Windows 95 and Windows NT 4.0 with no Internet Explorer or Internet Explorer version 3.0x installed. CAUSE
Visual C++ 6.0 includes an updated Prsht.h file that changes the size of
both the PROPSHEETHEADER and PROPSHEETPAGE structures depending on what the
_WIN32_IE preprocessor directive is defined as.
RESOLUTION
If you need to call the function PropertySheet for any version of
Comctl32.dll, you must add a define in the settings for your project.
To do this in Visual C++ 6.0
You can also set the dwSize members of the PROPSHEETHEADER and PROPSHEETPAGE structures to the PROPSHEETHEADER_V1_SIZE and PROPSHEETPAGE_V1_SIZE values, respectively. These values are defined in the updated Prsht.h file. Using these values, however, prevents your project from building if you do not have the updated Prsht.h file. STATUSThis behavior is by design. MORE INFORMATION
The Visual C++ 6.0 MFC CPropertySheet and CPropertyPage classes are not
subject to this behavior. To get the new property sheet behavior in MFC,
you will need to use the CPropertySheetEx and CPropertySheetEx classes.
Additional query words:
Keywords : kbNTOS400 kbPropSheet kbSDKPlatform kbVC600 kbWinOS98 |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |