Event ID: 10003
来源:互联网 发布:三国令进阶数据 编辑:程序博客网 时间:2024/06/05 22:09
BUG: Word 2000 Version Key Doesn't Match Its Type Library Version
Article ID | : | 249626 |
Last Review | : | March 14, 2001 |
Revision | : | 1.0 |
This article was previously published under Q249626
On this Page
SYMPTOMS | ||
STATUS | ||
MORE INFORMATION |
SYMPTOMS
Traditionally, clients that support Object Linking and Embedding (OLE) can use both the TypeLib key and Version key in the registry (under the CLSID for an embeddable object) to locate the type library that describes the object and its methods.
In Word 2000, the value for the Version key does not match the version number of its type library. Consequently, clients that rely on this behavior may fail to identify the correct type library for Word 2000 when using the registry.
In Word 2000, the value for the Version key does not match the version number of its type library. Consequently, clients that rely on this behavior may fail to identify the correct type library for Word 2000 when using the registry.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
The Word 2000 type library is an enhanced version of the 8.0 type library that shipped with Word 97. It has a version number of 8.1, and its location can be found in the registry under the key:
HKEY_CLASSES_ROOT/TypeLib/{00020905-0000-0000-C000-000000000046}/8.1However, the Word Document object lists the TypeLib and Version as:
HKEY_CLASSES_ROOT/CLSID/{00020906-0000-0000-C000-000000000046}...TypeLib = "{00020905-0000-0000-C000-000000000046}"Version = "9"...So, if you use these keys to to locate the type library in the registry, and/or use these keys to call the LoadRegTypeLib API, it will fail to find the library since the code will be asking for a non-existent registry key:
HKEY_CLASSES_ROOT/TypeLib/{00020905-0000-0000-C000-000000000046}/9Clients are advised to handle any missing entry in the registry as an unregistered type library. To get the type information for an OLE object that is not registered in the type library, clients can create an instance of the object and ask for its ITypeInfo using IDispatch::GetTypeInfo() or IProvideClassInfo::GetClassInfo().
- Event ID: 10003
- Event ID: 10002
- PB Event ID解析
- Event Source: WinMgmt ,Event ID: 47
- Event ID 1041 source userenv
- PowerBuilder Event Id 事件说明
- PB对象Event ID说明
- event.srcElement.id为空
- PB Event ID 含义 内容浅析
- EVENT ID:8003主浏览器问题
- Office SharePoint Server Error: Event ID 7888
- sharepoint 报错:Event ID:5785
- Sharepoint 报错:Event ID: 8214
- Sharepoint 报错:Event ID: 8214
- FiX Event Error -ID 10016 -Source DistributedCOM
- js 源对象 window.event.srcElement.id
- Event ID 1096 — Group Policy
- How to resolve the error:Event ID 1030 occur in conjunction with Event id 1058
- 今天1.10
- Windows 95 System Programming SECRENTS学习笔记---第三章(5)
- Windows 95 System Programming SECRENTS学习笔记---第三章(6)
- 感冒之乱思
- 有关RDF、RSS、XML区别和联系
- Event ID: 10003
- rss简介
- Event ID: 10002
- GPRS
- 搞定GPRS
- Google从入门到精通(转载)
- [原创] 神的计划8 - 创世纪–约瑟
- [原创] 神的计划9 - 创世纪–小结
- 计算机软件技术基础课程