Adapting the Gateway Resources DLL
The sample resources DLL consists of four files:
-
SAMP.RC, which encodes the language-independent features of the gateway and data source. Except where noted, the customization values described below are found in this file. In almost every case, these values correspond to attributes set or returned by the ODBC API. See the comments in this file for additional descriptions of individual values.
-
LOCAL.RC, which includes the localizable strings used by the Open Data Services ODBC driver. If the customized Open Data Services ODBC driver is offered in multiple languages, only this file should need to change between languages.
-
LIBMAIN.C, which is the shell program for the resources DLL. This should not be changed.
-
ODSRC.H, which is the header file used by both the Open Data Services ODBC driver and the gateway resources DLL. This should not be changed.