Steps for Building an Application
The following steps apply to building all Embedded SQL for C (ESQL/C) applications:
- 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.
- Compile the C program created by the precompiler by using an appropriate C compiler. The compiler creates object file(s).
- 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 C:\Program Files\Microsoft SQL Server\80\Tools\DevTools\Samples\Esqlc subdirectory.