DLGDB32 CDialog Sharing a CRecordset Object

ID: Q141445


The information in this article applies to:
  • The Microsoft Foundation Classes (MFC), used with:
    • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2, 5.0, 6.0


SUMMARY

This is the 32-bit version of this sample.

The Dlgdb32 code sample demonstrates how to have a CDialog derived class share a CRecordset object that a CRecordView is already using. In addition, when used by itself, the code sample also demonstrates how to select CRecordset object from a CDocument without having a CRecordView.

NOTE: This sample assumes that ODBC has been installed and that the Student Registration data source has been configured.

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Dlgdb32.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

NOTE: The file must be decompressed by typing "DLGDB32 -d".


MORE INFORMATION

Additional query words: kbvc400 kbvc410 kbvc420 kbvc500 kbvc600

Keywords : kbfile kbprg kbsample kbDatabase kbMFC kbODBC kbVC
Version : winnt:4.0,4.1,4.2,5.0,6.0
Platform : winnt
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.