Building Applications

To build an Embedded SQL for C (ESQL/C) application for the Microsoft® Windows NT® or the Microsoft Windows® 95/98 operating systems, you must compile the application on a computer that is running Windows NT on both the Intel® and Alpha platform or Windows 95/98.

If you need to build an ESQL/C application for either 16-bit Windows or Microsoft MS-DOS®, you must use the ESQL/C compilation environment in Microsoft SQL Server™ 6.0 or 6.5. SQL Server 7.0 does not supply the 16-bit binaries needed to compile ESQL/C clients in these environments.

The following illustration shows how application code that contains Embedded SQL statements is precompiled, compiled, and linked, and how the application operates during run time.

When you compile an ESQL/C application, the general process of creating an executable program is the same regardless of the operating system you compile for. The specific procedures for precompiling, compiling, and linking ESQL/C applications for Windows NT, Windows 95/98, 16-bit Windows, and MS-DOS are described in other topics.

  


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