BETA-PRB: Type Information not Found in Mshtml.dll
ID: Q188020
|
********************************************************************
BETA INFORMATION BETA INFORMATION BETA INFORMATION BETA
This article discusses a Beta release of a Microsoft
product. The information in this article is provided as-is
and is subject to change without notice.
No formal product support is available from Microsoft for
this Beta product. For information about obtaining support
for a Beta release, please see the documentation included
with the Beta product files, or check the Web location
from which you downloaded the release.
BETA INFORMATION BETA INFORMATION BETA INFORMATION BETA
********************************************************************
The information in this article applies to:
-
Microsoft Internet Explorer (Programming) version 5.0dp1
SYMPTOMS
Attempting to reference the type information in Mshtml.dll via one of the
following means
- #import "mshtml.dll"
- "View TypeLib" command in OLE/COM Object Viewer
- Adding a reference in Visual Basic directly to Mshtml.dll
causes an error condition to occur indicating that the type library cannot
be loaded. (TYPE_E_CANTLOADLIBRARY, "Cannot open type library file," "Can't
add reference to the specified file.")
CAUSE
The type information that was stored in Mshtml.dll prior to Internet
Explorer 5.0 has been moved to a separate TLB file, Mshtml.tlb.
RESOLUTION
Direct #import, OLE Viewer, or Visual Basic to Mshtml.tlb instead of
Mshtml.dll.
STATUS
This behavior is by design.
MORE INFORMATION
The type library was removed from Mshtml.dll to shrink the core DLL size.
This should cause no compatibility problems with existing programs.
The OBJVW sample in the Internet Client SDK used #import to reference
Mshtml.dll. This sample has been corrected in the current form to reference
Mshtml.tlb.
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Jason Strayer, Microsoft Corporation
Additional query words:
kbbeta kbMSHTML kbIE500dp1
Keywords :
Version : WINDOWS:5.0dp1
Platform : WINDOWS
Issue type : kbprb