Article ID: 152696
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q152696
SUMMARY
The MFC database classes found in Visual C++ versions 1.x,
2.x, 4.0, and 4.1 were not written to be used in a console application.
However, with some modification, you can use the 32-bit database classes in a
console application. The techniques presented here apply to both the MFC ODBC
and MFC DAO classes.
Starting with Visual C++ 4.2, the MFC ODBC
classes were rendered safe for use within console applications. Many of the
internal dependencies listed below are no longer present in the 4.2 and later
MFC ODBC class libraries.
Additional query words: kbvc200 kbvc210 kbvc220 kbvc400 kbvc410 kbvc420 kbvc500
kbvc600
Keywords: kbdao kbinfo kbdatabase kbhowto kbprogramming kbusage KB152696