The information in this article applies to:
SYMPTOMSWhen opening or closing a project in Developer Studio, you may see an access violation with the following error message: This behavior occurs if the Properties window for a ControlWizard- generated ActiveX Control is invoked in the dialog editor. CAUSEThis is due to a bug in the MFC 4.2 libraries. RESOLUTIONTo obtain this patch, please refer to the following article in the Microsoft Knowledge Base: Q156934 Visual C++ 4.2b PatchThe problem occurs because IOleObject::SetClientSite(NULL) does not release its existing pointer to ambient property interface. For example, COleControl::XOleObject::SetClientSite(NULL) doesn[ASCII 146]t call pThis->m_ambientDispDriver.ReleaseDispatch();. The problem was fixed by adding the following line to COleControl::XOleObject::SetClientSite in the MFC source code:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ 4.2B patch. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: 4.20 vcfixlist420 kbdsi
Keywords : kbole kbCtrl kbResourceEd kbVC kbVC420bug kbGrpDSTools |
Last Reviewed: July 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |