Hi,
I wonder how to use the components? Could you give an example?
IBCLicensingService and IBCConfigService
Thanks.
LicensingService and ConfigService
-
AndreyZ
Re: LicensingService and ConfigService
Hello,
Please note that most of the TIBCConfigService and TIBCLicensingService components functionality can be used only with InterBase, because Firebird does not support it. Here is a code example that demonstrates using of the TIBCConfigService component:The TIBCLicensingService component is used to add or remove InterBase software activation certificates. Firebird does not support this functionality, so you should not use TIBCLicensingService for Firebird. For more information about TIBCConfigService and TIBCLicensingService, please refer to the IBDAC documentation.
Please note that most of the TIBCConfigService and TIBCLicensingService components functionality can be used only with InterBase, because Firebird does not support it. Here is a code example that demonstrates using of the TIBCConfigService component:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
IBCConfigService1.Database := 'database';
IBCConfigService1.Username := 'sysdba';
IBCConfigService1.Password := 'masterkey';
IBCConfigService1.ClientLibrary := 'fbclient.dll';
IBCConfigService1.LoginPrompt := False;
IBCConfigService1.Attach;
try
IBCConfigService1.SetDBSqlDialect(3);
finally
IBCConfigService1.Detach;
end;
end;Re: LicensingService and ConfigService
Thank you for your interest
-
AndreyZ
Re: LicensingService and ConfigService
Feel free to contact us if you have any other questions about IBDAC.