PRB: Errors with IDataspace and IBindMgr Interfaces in RDS 1.5

ID: Q191736


The information in this article applies to:
  • Remote Data Service for ADO versions 1.5, 2.0


SYMPTOMS

When you use #import on the Remote Data Service (RDS) files, import produces IDataspacePtr and IBindMgrPtr smart pointers. Calling the CreateInstance() function on the smart pointers may return the following HRESULT:

0x80004002 "No such interface supported"
Trying to call a method on these smart pointers may cause the following error to appear:
0x80004003 "Invalid Pointer"
The resultant smart pointers will be NULL.


CAUSE

These interfaces are exposed in the type library but are not implemented.


RESOLUTION

To resolve this problem, use the DIBindMgr and DIDataspace dispinterfaces instead. Note that this resolution is only for RDS 1.5. The dispinterfaces have been removed for RDS 2.0 and programmers must use the IBindmgr and IDataspace interfaces. In RDS 2.0 these have been implemented fully.


STATUS

This behavior is by design.

Additional query words: kbRDS150 kbRDS200 kbDatabase kbDSupport

Keywords : kbDatabase kbRDS150 kbRDS200 kbDSupport
Version : WINDOWS:1.5,2.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: May 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.