Microsoft KB Archive/191736

= PRB: Errors with IDataspace and IBindMgr Interfaces in RDS 1.5 =

Article ID: 191736

Article Last Modified on 3/2/2005

-

APPLIES TO


 * Microsoft Remote Data Services 1.5
 * Remote Data Service for ADO 2.0

-



This article was previously published under Q191736



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 kbprb KB191736

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.