The information in this article applies to:
SYMPTOMSWhen inserting your ATL control in a Microsoft Office 97 VBA UserForm, you crash in OLEAUT32.DLL, or receive the following error:
CAUSE
This is typically caused by ATL controls that declare enumerated types in their IDL file without specifying a tag.
RESOLUTIONTo ensure that your type library is suitable for all containers, you should provide a tag for all enumerated types. For example:
REFERENCESFor additional information, please see the following article(s) in the
Microsoft Knowledge Base: Q181255 How To Implement Enumerated Properties in ATL © Microsoft Corporation 1999, All Rights Reserved. Additional query words: TYPE_E_UNDEFINEDTYPE 80028027 -2147319769
Keywords : kbActiveX kbATL kbATL200 kbCtrlCreate KbVBA kbVC kbVC500 kbVC600 kbATL300 kbGrpDSO kbOffice2000 |
Last Reviewed: August 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |