PRB: MFC ActiveX Document Servers Require Compound File SupportLast reviewed: August 7, 1997Article ID: Q166769 |
The information in this article applies to:
SYMPTOMSWhen you save an ActiveX Document from an ActiveX Document Container such as Internet Explorer or the Office Binder, an ASSERT fails at line 592 in OLEDOC1.CPP.
CAUSEThe MFC ActiveX Document Server classes require compound file support.
RESOLUTIONAdd a call to EnableCompoundFile(TRUE) in the document constructor:
CScribDoc::CScribDoc() { // ... EnableCompoundFile(TRUE); } MORE INFORMATIONCreating a new ActiveX Document server or regular OLE embedding server in AppWizard selects compound file support by default. The assertion problem occurs if compound file support was deselected when the project was initially created. Keywords : AXSDKDocObjects MfcOLE Technology : kbMfc kbole Version : 4.2 4.2b 5.0 Platform : NT WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |