Description of the AdoChng.exe sample that demonstrates how to write an Active Template Library (ATL) COM .dll file (263884)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.7
- Microsoft Visual C++ 2005 Express Edition
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q263884 Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry 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 The AdoChng.exe sample demonstrates how you can write an
Active Template Library (ATL) COM .dll file that will create a disconnected ADO
recordset and return it to a client. The sample also demonstrates how you can
make changes on the client, send only the changes to the server to minimize
network traffic, and apply the changes to the database. The sample includes two
different clients: a Visual C++ console application and a Microsoft Visual
Basic (VBScript) client Web page that uses Remote Data Service (RDS) to connect
to a remote server and instantiate the object.
The sample uses a
Microsoft SQL Server 7.0 database to store its data. In order to use the
VBScript client, you must have an Internet Information Services (IIS) server
configured to use RDS in unsafe mode and Internet Explorer 5.0 or later on the
client computer. REFERENCESFor additional information, click the
article numbers below to view the articles in the Microsoft Knowledge Base: 166277 HOWTO: Create a VB Component that Returns a Recordset in RDS
191741 INFO: RDS Registry/Security Settings for Custom Business Objects
250536 HOWTO: Configure RDS for Windows 2000
183315 HOWTO: Write and Validate a Custom Business Object With RDS
Modification Type: | Major | Last Reviewed: | 1/9/2006 |
---|
Keywords: | kbdownload kbDatabase kbfile kbSample KB263884 kbAudDeveloper |
---|
|