Subject Using embedded FireBird server
Author lec_sas
Hello,
I was testing the examples that came in the win23/examples
directory with the 1.5.3 version of FireBird. I am a new FireBird
user and I am just trying to get a feel for how to get setup. I am
having an issue with running api1.c. It compiles fine, however when
it executes I see the following results:

The source code cleaned up and trimmed down looks like this:

ISC_STATUS status_vector[20];

isc_db_handle newdb = NULL;
isc_tr_handle trans = NULL;
char* create_db = "CREATE DATABASE new.fdb";

if(isc_dsql_execute_immediate(status_vector, &newdb, &trans,
0, create_db, 1, NULL)){
/* Error Routine */
}

Error:
Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.


This sounds reasonable, however from reading the documentation I
gathered that there is no security layer with the embedded server
and there should be no problem accessing the routines.

I am using Visual Studio 2005 as my compiler. Along with having the
fbclient.dll, I had to include fbclient_ms.lib in my project as well.

All I have done so far with regard to server configuration is drop
the library files into the directory.

How can I get my database up and running?

My end goal is to have a layer of ansi-C on top of the database that
dynamically generates the calls to the DLL and performs some data
manipulation. We are using C instead of .Net tools to ease
portability concerns.

Thanks

Darin