Adding Server Functionality

From InterBase

Go Up to Using the License API


There are five functions available for manipulating authorization codes in ib_license.dll:

See the API Function Reference for a detailed reference for each function.

  • isc_license_add() adds a line to ib_license.dat. Use only authorization codes that you have been given expressly as deployment codes from InterBase.
  • isc_license_check() checks to see whether an authorization code could be added to ib_license.dat. This function performs all the same tasks as isc_license_add(), without actually modifying ib_license.dat.
  • isc_license_remove() removes a line from ib_license.dat.
  • isc_license_display() displays the authorization codes that are currently in ib_license.dat.
  • isc_license_get_msg() returns the text of error messages that correspond to error codes returned by the other four licensing functions.

isc_license_add() can throw the following errors:

Error codes from isc_license_add()
Return Description

isc_license_msg_restart

Authorization code was successfully added

isc_license_msg_writefailed

The authorization code could not be written

isc_license_msg_dupid

The authorization code was not added to the license file because it is a duplicate of one already present in the file

isc_license_msg_convertfailed

The ID/key combination is invalid

Advance To: