PRB: Stock Font and Color Property Pages Fail (137353)
The information in this article applies to:
- Microsoft Visual C++ 2.0
- Microsoft Visual C++ 2.1
- Microsoft Visual C++ 2.2
- Microsoft Visual C++ 4.0
- Microsoft Visual C++ 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
This article was previously published under Q137353 SYMPTOMS
When you include one of the stock CDK property pages (Font, Color, or
Picture) in your application, it may not appear when the property sheet
dialog box is displayed. The default and other custom property pages may
still be visible.
CAUSE
One possible cause of this problem is the lack of registration of the DLL
which includes the stock property page implementations.
Depending on the version of Visual C++, this DLL is:
VC 2.X ==> OC30.DLL
VC 4.0, VC 4.1 ==> MFC40.DLL
VC 4.2 ==> MFC42.DLL
RESOLUTION
Register the appropriate DLL using regsrv32.exe that comes with the CDK and
is located in the CDK \Bin directory. Use this line:
REGSVR32 OC30.DLL
STATUS
Microsoft is researching this behavior and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | kbprb KB137353 |
---|
|