The information in this article applies to:
SYMPTOMS
Automation clients written for Microsoft Access 97 that use either early binding (VB, ATL with #import) or dispid binding (MFC) might unexpectedly fail when trying to automate Microsoft Access 2000.
Many functions might also produce custom errors from Access or might not return an error at all; that is, the call appears to have succeeded but the correct method was not called. CAUSE
The Access 2000 object model was accidentally modified in a way that breaks both binary (v-table) and dispid compatibility. Any client application that uses early or dispid binding to Access 97 might fail to work properly when run against Access 2000.
RESOLUTIONAutomation clients that want to Automate both Access 97 and Access 2000 MUST use late binding (that is, IDispatch::GetIdsOfNames and IDispatch::Invoke). STATUS
Microsoft has confirmed this to be a bug in Access 2000. REFERENCESFor more information on Automation binding methods, please see the following article in the Microsoft Knowledge Base: Q245115 INFO: Using Early Binding and Late Binding in Automation Additional query words:
Keywords : kbAccess kbAutomation kbGrpDSO |
Last Reviewed: November 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |