Subject | Re: [firebird-support] Re: Embedded FB1.5 Doesn't Like "localhost". |
---|---|
Author | Carlos H. Cantu |
Post date | 2004-04-16T20:39:05Z |
Make sure of what client lib IBPP expects: fbclient.dll or gds32.dll.
You need to have the fbembed.dll renamed as the expected library name
in the same dir of the application .EXE, as well firebird.msg and
fb_util.dll.
Carlos
http://www.warmboot.com.br
FireBase - http://www.FireBase.com.br
b> --- In firebird-support@yahoogroups.com, "Carlos H. Cantu"
b> <listas@w...> wrote:
b> I've been looking at the release notes, but I
b> don't understand exactly what I need to do.
b> I'm using the IBPP interface, thanks for the
b> advice everyone, and this is the fragment of my
b> code that causes the problme:
b> ----------------
b> database_id = IBPP::DatabaseFactory(DB_SERVER_NAME,
b> database_path_and_name,
b> DB_USER_NAME,
b> DB_PASSWORD,
b> "", "",
b> "PAGE_SIZE 8192");
b> database_id->Connect();
b> -----------------
b> database_path_and_name is:
b> E:\larryl\usr\work\ ... \database\xxx.fdb
b> If I pass a NULL pointer instead of the server
b> name I get some non-IBPP trap.
b> If I set the DB_SERVER_NAME to "", I get this
b> error:
b> ---------------
b> populate_players_list()
b> *** IBPP::Exception inside Database::Connect ***
b> IBPP Message : isc_attach_database failed
b> SQL Message : -904
b> Unsuccessful execution caused by an unavailable resource..
b> Engine Code : 335544375
b> Engine Message :
b> unavailable database
b> ---------------
b> I'm sure I need a local connection to the database.
b> How do I do that?
b> Thanks
b> Larry
b> Yahoo! Groups Links
You need to have the fbembed.dll renamed as the expected library name
in the same dir of the application .EXE, as well firebird.msg and
fb_util.dll.
Carlos
http://www.warmboot.com.br
FireBase - http://www.FireBase.com.br
b> --- In firebird-support@yahoogroups.com, "Carlos H. Cantu"
b> <listas@w...> wrote:
>> To connect to embedded server you cannot use localhost, you must useb> Thanks Carlos:
>> local connection.
>>
>> Carlos
b> I've been looking at the release notes, but I
b> don't understand exactly what I need to do.
b> I'm using the IBPP interface, thanks for the
b> advice everyone, and this is the fragment of my
b> code that causes the problme:
b> ----------------
b> database_id = IBPP::DatabaseFactory(DB_SERVER_NAME,
b> database_path_and_name,
b> DB_USER_NAME,
b> DB_PASSWORD,
b> "", "",
b> "PAGE_SIZE 8192");
b> database_id->Connect();
b> -----------------
b> database_path_and_name is:
b> E:\larryl\usr\work\ ... \database\xxx.fdb
b> If I pass a NULL pointer instead of the server
b> name I get some non-IBPP trap.
b> If I set the DB_SERVER_NAME to "", I get this
b> error:
b> ---------------
b> populate_players_list()
b> *** IBPP::Exception inside Database::Connect ***
b> IBPP Message : isc_attach_database failed
b> SQL Message : -904
b> Unsuccessful execution caused by an unavailable resource..
b> Engine Code : 335544375
b> Engine Message :
b> unavailable database
b> ---------------
b> I'm sure I need a local connection to the database.
b> How do I do that?
b> Thanks
b> Larry
b> Yahoo! Groups Links