Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

OLE DB and ATL's Database Classes

OLE DB is Microsoft's new database interface based on the Component Object Model (COM). This interface provides a great deal of flexibility, allowing you to access a wide range of different types of data sources, including just about any sort of data that can be represented in a tabular form, from Excel spreadsheets to special data acquisition hardware. OLE DB also provides the mechanisms that allow you to create OLE DB data source providers to meet the needs of your particular application. In addition to ODBC drivers, many databases, such as Oracle, Informix, and Microsoft SQL Server, either provide their own OLE DB drivers or have OLE DB drivers available from some other source.

Version 6 of Visual C++ allows the developer to use wizards to quickly develop OLE DB applications. Rather than being forced into using numerous COM interfaces and difficult coding, OLE DB development in Version 6 is quite simplified and should soon become the standard for Visual C++ database applications. MFC has added classes that allow easy OLE DB access. Furthermore, the ActiveX Template Libraries (ATL) use OLE DB to generate quick database applications that are smaller and run faster than equivalent MFC applications.

Share ThisShare This

Informit Network