Subject NT Service and TIB_Connection.
Author Martynas Kancleris
I am writing NT service (win2000). I use this code in my service:

Var
Ib:TIB_Connection;
Begin
Ib:=TIB_Connection.Create(nil);
Ib.Path:='C:\aaa.gdb';
Ib.Username:='SYSDBA';
Ib.Password:='masterkey';
Ib.Connected:=True;
End;

When I run my service, I get an exception: "Database unavailable".

Then I try put this code to simple (empty) application only with
TButton. TIB_connection works correctly in this application.

What I do wrong ?