If you are using the VCL/CLX component libarary you need to include the file TdbLicense in each project to activate the features you have licensed. Without this unit, your program will throw an exception, when you first try to open a database connection. Including TdbLicense is very easy:
- In Delphi and Kylix just add the unit to your project using the Project/Add to Project... command.
- In C++ Builder insert the line #pragma link TdbLicense in the main C++ file of your application.
As long as you didn't receive a key and you didn't activate your TurboDB installation, your applications will run for 30 days counted from the day of the TurboDB 4 installation. After that period, your application will throw an exception when you try to open a database.
Activation is the process of converting a trial edition of TurboDB into a licensed edition, which you can use to build commercial programs. In order to activate your trial edition of TurboDB you need an activation key which you receive upon purchasing a license. This activation key looks something like this: B4Dyh_3iU41
Let us assume you have completed your application using the trial edition of TurboDB and then you have purchased a license. You will receive an e-mail containing the activation key.
Run Activator which resides in the bin subdirectory of your installation. If you are using the Linux version of TurboDB, remember that LIBRARY_PATH must contain a directory where libqtint-* can be found as is the case with all Kylix applications. Check if the TurboDB directory is correct, enter your activation key and press Ok. The activator will modify some files of your TurboDB installation.
You are done. Again, please don't forget to use TdbLicense in any TurboDB application you create. It is a very small unit und contains the encrypted licensing information, that is necessary to create a commercially used program.