Using Microsoft Visual C++

Microsoft Visual C++ provides no mechanism for direct execution (and reporting) of SQL statements. But it does provide MFC classes that can be used to database-enable Windows applications. To use these classes, you should be familiar with MFC and MSVC's AppWizard and ClassWizard. To use these classes, do the following:

1.
Microsoft Visual C++ provides MFC classes that encapsulate ODBC (and DAO) integration. To interact with ODBC, an ODBC Data Source must be present before proceeding. (See the earlier instructions.)
2.
To support the use of ODBC calls, your MFC application must have database support enabled. This option may be selected in the app wizard. (If you are using Visual C++ Enterprise Edition, you can also create ...

Get Sams Teach Yourself SQL in 10 Minutes, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.