skip to main content
Configuring an OpenAccess SDK IP for a Third-Party SQL Engine : Configuring Services and Data Sources : Configuring Attributes for an IP Written in C/C++
 

Configuring Attributes for an IP Written in C/C++

OpenAccess SDK installation creates a service based on the Service for C/C++ template to support accessing a SQL data source using an IP written in C/C++ . The following table summarizes the service attributes that are required in setting up the service, and where applicable, shows the display group in the OpenAccess SDK Management Console.
Table 15. Service Attributes Used for an IP Written in C/C++
Setting Group
Attribute Name
Description
N/A
Sets the connection model. The default value is Thread/Connection.
N/A
Sets the library search path if your IP code requires external libraries and to set other environment variables. It is recommended that all required environment variables are set using this attribute instead of depending on the operating system mechanism.
IP Parameters
Specifies the SQL engine configuration file. The configuration file must be located in the path specified by the ServiceIPPath attribute (see ServiceIPPath). The default is oasql.ini. This value is required.
IP Parameters
Sets the name of your IP module. The IP module must be located in the path specified by the ServiceIPPath attribute. Every data source created for a Service for C/C++ uses this IP module.
IP Parameters
Specifies the OpenAccess SDK SQL engine module. The default is oadssqlip.{lib}. This value is required.
The following table describes the data source attributes that are required in setting up the data source for the service and the display group in the OpenAccess SDK Management Console.
Table 16. Data Source Attributes Used for an IP Written in C/C++
Setting Group
Attribute Name
Description
User Security
Set to Anonymous if your IP code does not require authentication of the user. See Configuring Security for OpenAccess SDK for more information.
Workarounds
Set to 8192 to enable Microsoft Access to correctly use the driver.