The information in this article applies to:
SYMPTOMS
When you save an ActiveX Document that does not use compound files from
Internet Explorer functioning as an ActiveX Document Container, the file
will be saved in compound document format. Subsequent attempts to load the
file in Internet Explorer results in the exception "Unexpected File
Format." CAUSEThe MFC ActiveX Document Server classes normally require compound file support. RESOLUTIONAdd a call to EnableCompoundFile(TRUE) in the document constructor:
MORE INFORMATION
Creating 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.
© Microsoft Corporation 1999, All Rights Reserved. Additional query words:
Keywords : kbole kbActiveX kbMFC kbVC420 kbVC500 kbVC600 AXSDKDocObjects |
Last Reviewed: December 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |