Subject | Firebird embedded server |
---|---|
Author | slavi_marinov |
Post date | 2004-05-27T12:55:56Z |
Hello all,
I tried to create a simple Delphi application that uses a Firebird
embedded database. What I did :
- copied the file fbembed.dll as gds32.dll in the directory of my
project.
- added the following source code :
IBDatabase1.DatabaseName:='x.txt';
IBDatabase1.CreateDatabase;
IBDatabase1.Connected:=True;
on my local computer that works perfectly fine - I use username
SYSDBA and password masterkey and the database is created, I perform
queries, etc. - no problems.
But the following problem occurs - when I copy gds32.dll and
Project1.exe ( the delphi executable ) to a computer that has no
Delphi ( or Interbase ) installed, when I execute this source I get :
---------------------------
Project1
---------------------------
Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.
---------------------------
OK
---------------------------
Why does this happen, how can I resolve this problem?
Thank you in advance,
--Slavi
I tried to create a simple Delphi application that uses a Firebird
embedded database. What I did :
- copied the file fbembed.dll as gds32.dll in the directory of my
project.
- added the following source code :
IBDatabase1.DatabaseName:='x.txt';
IBDatabase1.CreateDatabase;
IBDatabase1.Connected:=True;
on my local computer that works perfectly fine - I use username
SYSDBA and password masterkey and the database is created, I perform
queries, etc. - no problems.
But the following problem occurs - when I copy gds32.dll and
Project1.exe ( the delphi executable ) to a computer that has no
Delphi ( or Interbase ) installed, when I execute this source I get :
---------------------------
Project1
---------------------------
Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.
---------------------------
OK
---------------------------
Why does this happen, how can I resolve this problem?
Thank you in advance,
--Slavi