Subject Re: [IBO] IBO + FB Embedded
Author Andrei Luís
Hi Helen, thanks for your reply. Sorry for my dubious informations.

I'm already using fbembed.dll, renamed to gds32.dll (and tryied renamed as fbclient.dll too). 32-bit, as my Delphi application.
I tried to remove user and password, still the same error.
I put the database parameter as you said, still nothing. The most curious to me, is why ib_sql.exe doesn't open the fdb. I had fbembed.dll renamed as gds32.dll/fbclient.dll in the same directory.

Any clue?

[]s
Andrei


2014/1/16 Helen Borrie <helebor@...>
At 03:44 p.m. 16/01/2014, Andrei Luís wrote:


>Hi,
>
>I'm trying to run an application with IBO and FB Embedded.
>
>- the application is OK, tested with FB server.
>- I shut down the FB service
>- I copied gds32.dll (tryied with fbclient.dll too), firebird.conf and firebird.msg to the .exe folder.
>- I'm using the following parameters to connect:
>         Username:='SYSDBA';
>         Password:='masterkey';
>         Database:='CLINICA.FDB';
>         Protocol:=cpLocal;
>
>
>I always got ISC ERROR CODE 335544375 unavailable database. Tested with IB_SQL.exe, and got the same error.
>
>What am I doing wrong?

Remove the normal client library from your executable directory.  For embedded, you need to download the fbembed.dll kit from http://www.firebirdsql.org/en/server-packages/

Make sure you get 32-bit or 64-bit to match the "bitness" of your Delphi application.  You can rename fbembed.dll to either fbclient.dll or gds32.dll, according to which name you normally use.

Also, attachment to embedded doesn't use authentication, so you don't need user name and password.  However, I think it doesn't matter if you put some values in there.

The database parameter must be the absolute path and ONLY a physical location on the local machine, e.g. c:\data\clinica.fdb.  In the case of ib_sql.exe, you need that to be in the same directory as the renamed fbembed.dll, too.

Helen



------------------------------------

___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
             without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
http://tracker.ibobjects.com - your portal to submit and monitor bug reports
http://community.ibobjects.com - your portal to purchase and upgradeYahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/IBObjects/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/IBObjects/join
    (Yahoo! ID required)

<*> To change settings via email:
    IBObjects-digest@yahoogroups.com
    IBObjects-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    IBObjects-unsubscribe@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
    http://info.yahoo.com/legal/us/yahoo/utos/terms/