To build the sample Open Data Services server applications, use the Microsoft C/C++ compiler for Windows NT with the Open Data Services subdirectory tree described here:
C:\SQL60\OPENDS\INCLUDE
File | Description |
---|---|
SRV.H | Main header file that includes all other header files |
SRVAPI.H | Open Data Services API macro definitions and function prototypes |
SRVCONST.H | Open Data Services constant definitions |
SRVDBTYP.H | DB-Library definitions (checks to see whether they have already been defined) |
SRVMISC.H | Miscellaneous Open Data Services definitions |
SRVSTRUC.H | Open Data Services structure definitions |
SRVTOK.H | Open Data Services token definitions |
SRVTYPES.H | Open Data Services datatype definitions |
C:\SQL60\OPENDS\LIB
File | Description |
---|---|
OPENDS60.LIB | The Open Data Services library definition file |
C:\SQL60\OPENDS\SAMPLES\GATEWAY\BUILD
File | Description |
---|---|
BUILD.CMD | The build file used to make the sample gateway |
MAKEFILE | The makefile used to create GATEWAYEXE |
C:\SQL60\OPENDS\SAMPLES\GATEWAY\SRC
File | Description |
---|---|
GATECBS.C | Source code for callback functions used in the sample gateway |
GATEWAY.C | Source code for the sample gateway application |
C:\SQL60\OPENDS\SAMPLES\PROCSRV\BUILD
File | Description |
---|---|
BUILD.CMD | The build file used to create the sample gateway |
MAKEFILE | The makefile used to create PROCSRV.EXE |
SALES.DBF | A sample non - SQL Server database file |
C:\SQL60\OPENDS\SAMPLES\PROCSRV\SRC
File | Description |
---|---|
PROCCBS.C | Source code for callback functions used in the sample procedure server application |
PROCSRV.C | Source code for the sample procedure server application |
C:\SQL60\OPENDS\SAMPLES\XPDLL\BUILD
File | Description |
---|---|
BUILD.CMD | The build file used to create the sample gateway |
MAKEFILE | The makefile used to create XPDLL |
XP.DEF | The DLL definition file |
XP.DLL | The XPDLL executable file |
C:\SQL60\OPENDS\SAMPLES\XPDLL\SRC
File | Description |
---|---|
XP.C | Source code for the sample extended stored procedure application |
For a list of ODBC sample files, see ODBC Drivers for SQL Server and Open Data Services.