The information in this article applies to:
SYMPTOMS
When you run a Visual Basic program that contains an ATL ActiveX control, you may get the following error message:
CAUSE
If you created the control using the ATL Object Wizard and added the "HWND" option in the Stock Properties tab, you will get an entry in the .IDL for a [propget] function for the "Window" stock property. RESOLUTION
Persisting an HWND doesn't make sense; just comment out the PROP_ENTRY(HWND...) macro in the property map. To prevent this line from being added in the future, remove the following line from Control.h in \Program Files\Microsoft Visual Studio\Common\MSDev98\Template\ATL:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. Additional query words:
Keywords : kbActiveX kbCOMt kbContainer kbCtrl kbCtrlCreate kbPersistSt kbVBp600 kbATL300bug kbGrpMFCATL |
Last Reviewed: November 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |