LicensingService and ConfigService

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
siberya
Posts: 23
Joined: Thu 23 Mar 2006 19:00

LicensingService and ConfigService

Post by siberya » Sun 28 Oct 2012 02:17

Hi,

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

IBCLicensingService and IBCConfigService

Thanks.

AndreyZ

Re: LicensingService and ConfigService

Post by AndreyZ » Mon 29 Oct 2012 08:55

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.

siberya
Posts: 23
Joined: Thu 23 Mar 2006 19:00

Re: LicensingService and ConfigService

Post by siberya » Tue 30 Oct 2012 09:05

Thank you for your interest

AndreyZ

Re: LicensingService and ConfigService

Post by AndreyZ » Tue 30 Oct 2012 09:36

Feel free to contact us if you have any other questions about IBDAC.

Post Reply