XP.C

The XP extended stored procedure sample application works with SQL Server. This file and its build environment are located under \SQL60\OPENDS\SAMPLES\XPDLL. The build tools include a makefile and a build file that allow you to build a custom version of XP.DLL, the XP dynamic-link library.

The makefile contains the compile and link statements that create XP.DLL. The build file sets the appropriate paths and runs the makefile. Before using the build command, edit BUILD.CMD to make the INCLUDE path and the LIB path conform to your environment. You need to edit MAKEFILE only if you want to use a drive other than C.

    To build the dynamic-link library

This BUILD.CMD command file uses the information in MAKEFILE to create the XP executable file. The build directory also includes also contains the Transact-SQL script INSTXP.SQL used to register the extended stored procedures with SQL Server.