INFO: Information and Resources for Using RDS in Visual C++

ID: Q184382


The information in this article applies to:


SUMMARY

This article presents useful information for anyone wanting to make use of the Remote Data Service (RDS) of ADO within Visual C++. The following are topics covered in this article:


MORE INFORMATION

How to Obtain the Remote Data Service

The Remote Data Service (RDS) consists of two sets of components; client side and server side. The client-side components ship with the following products: The latest version of both client-side and server-side components can be obtained with the Microsoft Data Access Components version 2.0, available free for download at:
http://www.microsoft.com/data

RDS Resources/Points of Information

The RDS Web Site, which contains the RDS components, is located at:
http://www.microsoft.com/data/rds
RDS is a component within the Microsoft Data Access Components version 1.5 or later.

How to Find RDS Knowledge Base Articles

RDS is not a technology that ships with one particular product, and has been included in the Microsoft Knowledge Base in the ActiveX Data Objects product database. To find RDS articles in the Microsoft Knowledge Base on the Web, connect to:
http://support.microsoft.com/support/
First time users must register to use this site. On this site, in the "My Search Is About:" box, select "ActiveX Data Objects" as the product; the Remote Data Service is a feature of ADO. Type your question in the "My Question Is:" box, and then click Find.

For the MSDN or other non-Web-based Knowledge Base search mechanisms, you you can use the keyword RDS, which is included in all RDS articles. Other keywords that offer greater granularity when searching are documented in the following article in the Microsoft Knowledge Base:
Q174564 HOWTO: Searching for RDS Articles by KBSubcategory

General Guidelines for RDS in VC++

The best way to get RDS into your VC++ applicatin is to use the #import command to import the type library (which for RDS is built into the DLLs). After you #import a DLL, there will be a .tli and a .tlh file, such as msadco.tli and msadco.tlh, in the build directory. Looking through these files will provide the objects exposed, their methods, and the syntax.

   #import "c:\program files\common files\system\msadc\msadco.dll" for the
   RDS Data Control.

   #import "c:\program files\common files\system\msadc\msadcf.dll" for the
   Data Factory. 
Of course, you also need to #import Msador15.dll to get the recordset object used by RDS.


REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q181092 FAQ: Remote Data Service (RDS) Frequently Asked Questions

Additional query words: MDAC ADC data factory business objects kbOLE kbADO100 kbADO110 kbADO150 kbRDS100 kbRDS110 kbRDS150 kbVC420 kbVC500


Keywords          : kbRDS100 kbRDS110 kbRDS150 kbRDS200 kbVC420 kbVC500 kbVC600 
Version           : WINDOWS:1.0,1.1,1.5,2.0; WINNT:4.2,4.2b,5.0,5.0sp1,5.0sp2,5.0sp3,6.0
Platform          : WINDOWS winnt 
Issue type        : kbinfo 

Last Reviewed: July 5, 1999