The information in this article applies to:
SYMPTOMSWhen you create an ATL Composite control with other ActiveX controls embedded in it, you may get an access violation in Ole32.dll. Usually, a message box is displayed with the following error message: You may also see a Web Browser control displayed with the following message, instead of the child ActiveX control: This page cannot be displayed.Usually, these controls work correctly on computers with Visual C++ installed, but do not work on computers without Visual C++ installed. CAUSE
The ActiveX controls embedded in the Composite control may be licensed controls. Composite controls and ATL containment do not directly support creation of licensed controls. RESOLUTION
Download the Atlhostlic.h file (a modified version of the Atlhost.h file), which allows licensed controls inserted on Composite controls to work correctly. Copy this file to your project directory and change all #include statements that reference the original Atlhost.h file to reference the Atlhostlic.h file. Q218442 HOWTO: Dynamically Add ActiveX Controls to ATL Composite Control STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: Atlhostlic.exeRelease Date: Jan. 13, 1999 For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Steps to Reproduce Behavior
Additional query words: C0000005 proxy error 11004 80040112 "no data record is available"
Keywords : kbfile kbpatch kbActiveX kbCOMt kbContainer kbCtrl kbCtrlCreate kbInprocSvr kbLicensing kbVC600bug kbVS600bug kbATL300bug kbDSupport kbGrpMFCATL |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |