PRB: Errors with IDataspace and IBindMgr Interfaces in RDS 1.5ID: Q191736
|
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:
Trying to call a method on these smart pointers may cause the following error to appear:0x80004002 "No such interface supported"
The resultant smart pointers will be NULL.0x80004003 "Invalid Pointer"
These interfaces are exposed in the type library but are not implemented.
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.
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