The information in this article applies to:
SYMPTOMSThe OLE control runtime DLLs contain a subset of the full MFC library. If you attempt to instantiate a class that is unavailable, the compiler will generate the following (or similar) error messages:
CAUSEThe errors occur because preprocessor directives are used to remove several MFC class definitions from the MFC header files when building an OLE control. RESOLUTIONYou can prevent these errors from occuring by simply not declaring any instances of classes listed in the More Information section. The classes are not available for OLE controls. STATUSThis behavior is by design. MORE INFORMATION
The following lists the general-purpose MFC classes that are unavailable
for OLE controls:
Additional query words: 1.00 ole control database class
Keywords : |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |