Loading the License API

From InterBase

Go Up to Using the License API


You cannot statically load iblicense.dll during an install process. Use the Windows LoadLibrary() API call or other language-specific equivalent to load it dynamically when you need it and free the library immediately after use.

Typically, you would load the License API at the beginning of an install in order to check that your desired certificate ID/key pairs can indeed be added. Call isc_license_check() and then free the library. Later, when you have completed the install portion and are ready to add authorization codes, load iblicense.dll again and add the authentication codes. This sequence avoids the case in which an install is completed and then must be uninstalled because the authentication codes cannot be added for some reason.

Advance To: