Steps for Building an Application

The following steps apply to building all Embedded SQL for C (ESQL/C) applications:

  1. Run the appropriate nsqlprep precompiler to prepare the ESQL/C program for compiling with a C compiler.

    For more information about nsqlprep, see Running the nsqlprep Precompiler.

  2. Compile the C program created by the precompiler by using an appropriate C compiler. The compiler creates object file(s).
  3. Link the object file(s), ESQL/C library files, and any other needed library files to create an executable file for the desired environment.

For more information about compiling and linking ESQL/C applications, see the ESQL/C samples in the \Mssql7\Samples\Esqlc subdirectory.

  


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