Attaching to a Service Manager

From InterBase

To initiate a connection from your application to an InterBase service manager:

1. Place a service component on a form.
2. Set the ServerName property for that component to the name of the server on which the services are to be run.
3. Use the Protocol property to set the network protocol with which to connect to the server.
4. Set the Active property to <True>. A login dialog is displayed. If you do not wish to display the login dialog, set the user name and password in the Params string editor, and set LoginPrompt to <False>.

To start the service, use the ServiceStart method.

Note: TIBLicensingService and TIBSecurityService do not require that you start the service using the ServiceStart method. For example, to add a license you could use:
Action := LicenseAdd;
ServiceStart;

or you could use:

AddLicense;