Don’t forget that the local database must be truly local when using fbembed.  i.e. you can’t have a connection string like: “localhost:c:\databases\mydb.fb”, it must be just be just “c:\databases\mydb.fb”.

 

You might also need firebird.conf and firebird.msg in either your app’s directory or the directory where you install the dll, I can’t remember which.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Middlemiss
Sent: Friday, 29 April 2005 11:48 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Unavailable Database

 

Thanks Trevor - I've located the embedded server zip file and read the instructions and it still doesn't work, but I'll get there. I'm sure it's just a matter of having the right file(s) in the right place.

Cheers,
Phil.

Trevor Jones wrote:

You can replace gds32.dll with fbembed.dll (as long as you rename it of
course), then you have the benefits of a normal client library *AND* and
fully functional server for *local* databases.  I'm sure that ibphoenix.com
has some further instructions, but AFAIKR that's all you need.
 
Trevor
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Phil Middlemiss
Sent: Friday, 29 April 2005 10:17 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Unavailable Database
 
Damn, I was afraid of that. Is there a way to embed it inside another 
installer? What are the issues with user rights?
Phil.
 
Rohit Gupta wrote:
 
  

Yes, you need the firebird engine/server on the machine that 
physically holds the database.
 
Date sent:       Fri, 29 Apr 2005 10:01:23 +1200
From:            Phil Middlemiss <[EMAIL PROTECTED]>
Organization:    MTS Ltd
To:              NZ Borland Developers Group - Delphi List
    
<[email protected]>
  
Subject:         [DUG] Unavailable Database
Send reply to:   NZ Borland Developers Group - Delphi List
    
<[email protected]>
  
  <mailto:[EMAIL PROTECTED]>
  <mailto:[EMAIL PROTECTED]>
 
[ Double-click this line for list subscription options ] 
 
Out test machine is complaining about "unavailable database" when I try 
to connect to a local firebird file. I had a read of the firebird 
"Quickstart Guide" which mentioned I needed two files, gds32.dll and 
fb32.dll for a client install - I can only find the first one on my 
machine. Am I missing something here? The client machine doesn't need to 
connect to a server - just a local file. Do I still have to install a 
firebird server as a service on the client machine to connect to a local 
file? I *am* missing aren't I?
 
Phil.
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
 
Rohit
 
======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================
 
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
 
 
 
 
    
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
 
 
  
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to