Page 1 of 1

LicensingService and ConfigService

Posted: Sun 28 Oct 2012 02:17
by siberya
Hi,

I wonder how to use the components? Could you give an example?

IBCLicensingService and IBCConfigService

Thanks.

Re: LicensingService and ConfigService

Posted: Mon 29 Oct 2012 08:55
by AndreyZ
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:

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;
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.

Re: LicensingService and ConfigService

Posted: Tue 30 Oct 2012 09:05
by siberya
Thank you for your interest

Re: LicensingService and ConfigService

Posted: Tue 30 Oct 2012 09:36
by AndreyZ
Feel free to contact us if you have any other questions about IBDAC.