How to use the Remote Data Service (RDS) of ADO in Visual C++ (184382)
The information in this article applies to:
- Microsoft Visual C++ 2005 Express Edition
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Remote Data Service for ADO
- Remote Data Service for ADO 1.1
- Remote Data Service for ADO 1.5
- Remote Data Service for ADO 2.0
- Remote Data Service for ADO 2.1
- Remote Data Service for ADO 2.5
This article was previously published under Q184382 Note Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. Microsoft Visual C++ 2005 supports both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. 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:
- How to obtain the Remote Data Service
- RDS resources/points of information
- How to find RDS Knowledge Base articles
- General guidelines for RDS in VC++
MORE INFORMATIONHow 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 all the
Microsoft products which ship full or subsets of Microsoft Data Access
Components (MDAC), and Windows 2000, where MDAC is part of the operating
system. Some of these products are:
- Internet Explorer 4.0 (contains RDS Client 1.5)
- Internet Information Server 4.0
- Microsoft Data Access Components (the preferred method)
- Data Access SDK
- Platform SDK
- Windows 2000
RDS components are shipped with MDAC. The latest version of
both client-side and server-side components can be obtained with Microsoft
Data Access Components (MDAC). To download MDAC, visit the following Microsoft Developer Network (MSDN) Web site: RDS resources/points of information The RDS Web Site, which contains the RDS components, is located
at: How to find RDS Knowledge Base articles To find RDS articles in the Microsoft Knowledge Base on the Web, visit the following Microsoft Web site: On
this site, look for Remote Data Service. For
the MSDN or other non-Web-based Knowledge Base search mechanisms, use the
keyword RDS, which is included in all RDS articles.
General guidelines for RDS in VC++ The best way to get RDS into your VC++ application is to use the
#import command method 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. REFERENCES189997 SRVRS.exe uses VC++ to get and manipulate RDS recordset
190473 CreateRS.exe uses the CreateRecordset function in VC++
Modification Type: | Minor | Last Reviewed: | 1/13/2006 |
---|
Keywords: | kbhowto kbDatabase kbinfo KB184382 kbAudDeveloper |
---|
|