The information in this article applies to:
SYMPTOMSWhen using the #import compiler directive to import Shdocvw.dll, several errors similar to the following will be reported:
When using the #import compiler directive with the no_namespace attribute to import Shdocvw.dll, several errors similar to the following will be reported:
CAUSE
These errors are generated because of the inclusion of the tagReadyState
definition in Ocidl.idl (included by the .idl for shdocvw).
RESOLUTIONThe exclude attribute of the #import directive can be used to work around this problem. Use #import shdocvw.dll as follows:
The tagReadyState will be defined for your project through the inclusion of
Ocidl.h.
STATUSThis behavior is by design. REFERENCESVisual C++ Preprocessor Reference: The #import directive Additional query words:
Keywords : kberrmsg kbWebBrowser AXSDKIEScripting kbIEFAQ |
Last Reviewed: January 27, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |