ConnectorLib C++ 25.2
ConnectorLib C++ SDK Programming Guide

# Configure the Connector

Before running the connector you must modify `connectorLibCpp.cfg`.

In the `[Connector]` section of the configuration file, set the following parameter. This parameter tells ConnectorLib C++ how to locate your connector implementation:

`ConnectorLibrary` | The name of your connector library. The value of this parameter can include the full path and library name, or just specify the library name. All of the following examples are valid:
    ConnectorLibrary=C:\Path\MyLibrary.dll
    ConnectorLibrary=/path/libMyLibrary.so
    ConnectorLibrary=./libMyLibrary.so
    ConnectorLibrary=MyLibrary

For example, this is the configuration for the HelloWorld connector introduced in Implement a New Connector:

    [Connector]
    ConnectorLibrary=HelloWorldConnector.dll

## Licensing

In the `[License]` section of the configuration file, specify the location of your license server. All connectors written using ConnectorLib C++ require a ConnectorLib C++ license. If the connector cannot find the license it logs an error to `license.log` and terminates. To specify the location of your license server, set the following parameters:

`LicenseServerHost` | The host name or IP address of the machine that hosts the License server.
`LicenseServerACIPort` | The ACI port of the License server.

For example:

    [License]
    LicenseServerHost=licenses
    LicenseServerACIPort=20000

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib C++ 25.2

Topic Title: Configure the Connector