PRB: Compiler Errors After Upgrading to Remote Data Service 2.0

ID: Q191734

The information in this article applies to:

SYMPTOMS

If you have existing Remote Data Service (RDS) 1.5 Code in Visual C++, and try to compile it after installing RDS 2.0, you may receive the following errors:

   DIBindMgrPtr is not a member of 'RDS'

   -or-

   DIDataspacePtr is not a member of 'RDS'

CAUSE

These interfaces were removed from Remote Data Service 2.0.

RESOLUTION

The missing interfaces are dispinterfaces. The equivalent dual interfaces and pointers, IBindMgrPtr and IDataspacePtr, can be used.

The dual interface syntax is slightly different than the dispinterfaces. Check the .tli and .tlh files generated by #import for the new syntax.

In most cases, you can replace the DIDataspacePtr's or DIBindMgrPtr's in your code with IDataspacePtr or IBindMgrPtr, respectively, and it will work.

STATUS

This behavior is by design.

Additional query words: kbADO200 kbVC kbRDS200

Keywords          : kbADO200 
Version           : WINDOWS:1.0,2.0
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: February 3, 1999