Porting DB-Library Applications

All DB-Library functions are completely portable between the Microsoft® Windows® and Microsoft Windows NT® platforms. You should not need to modify any of your DB-Library calls. You simply need to define the application’s operating system at compile time (for example, #define DBNTWIN32 for the Microsoft Win32® API).

Two DB-Library functions, dbprhead and dbprrow, not supported in Windows because they send output to STDIO, are supported in the Win32 API and can be used when developing applications for the CONSOLE subsystem. The dbprhead and dbprrow functions provide a convenient way to display the results of a query to the default output device.

If you have existing 16-bit DB-Library applications for Windows that you want to port to Win32 and run with Windows NT or Windows 95/98, you can take two approaches to porting:

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.