skip to main content
Configuring the OpenAccess SDK 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 describes the service attributes that are required in setting up the service, and where applicable, provides the setting group in the OpenAccess SDK Management Console.
Table 3. Service Attributes Used for an IP Written in C/C++
Display Group
Attribute Name
Description
Advanced
Sets the connection model. The default is Thread/Connection.
Note: This service attribute is used only in a client/server configuration.
Environment
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 ServiceEnvironmentVariable instead of depending on the operating system mechanism.This service should contain any settings pertaining to configuration or the library path that are required by the IP.
Note: This service attribute is used only in a client/server configuration.
IP Parameters
Specifies the SQL engine configuration file. The configuration file must be located in the path specified by the ServiceIPPath attribute. 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 where applicable, provides the display group in the OpenAccess SDK Management Console.
Table 4. Data Source Attributes Used for an IP Written in C/C++
Display Group
Attribute Name
Setting
IP Parameters
Sets the path where the schema files are located. For example:

C:\Program Files\Progress\DataDirect\ oaserver81\ip\schema\example1
IP Parameters
All user-written IPs must set this attribute to DAMIP.
User Security
Set to Anonymous if your IP code does not require authentication of the user.
Workarounds
Set to 8192 to enable Microsoft Access to correctly use the driver.