Subject | Re: [IBO] CreateDatabase() causing AV |
---|---|
Author | Helen Borrie |
Post date | 2006-01-30T06:03:57Z |
At 04:47 PM 30/01/2006, you wrote:
the minimum DLLs installed in the app directory.
Ah, then you are using the embedded server, right? Or not...
The client won't do anything on a local connection if there is not a
server running. Embedded is merely a variation of the server, with a
single client built in. You *will* need to have a full server
installed if you are going to do Delphi development against Firebird
databases. In the IDE, once Delphi is connected to a database via
embedded, you won't be able to connect when you run your
application. The trick is to develop while connecting to the full
server and to deploy (for single user, single machine use only) with
the embedded variant.
For future reference, you can save yourself and others a lot of time
and frustration by actually including *all* the details of what
you're trying to develop with.
Helen
>Helen,You also wrote:
>
>Thank you for the quick reply and bunch of helpful information. However,
>I managed to track the problem down a bit, and seems that it is caused
>by something else.
>
>Appears that if I just start the app and run the above mentioned piece
>of code, no firebird client DLL is loaded at all. Thus, if I connect (or
>try to) connect to a database first, it will cause the DLL to be loaded
>and after that database creation works just fine.
> Actually I have no server installed at all on the machine where I amdoing the development on, wanted to make sure the app works with just
the minimum DLLs installed in the app directory.
Ah, then you are using the embedded server, right? Or not...
The client won't do anything on a local connection if there is not a
server running. Embedded is merely a variation of the server, with a
single client built in. You *will* need to have a full server
installed if you are going to do Delphi development against Firebird
databases. In the IDE, once Delphi is connected to a database via
embedded, you won't be able to connect when you run your
application. The trick is to develop while connecting to the full
server and to deploy (for single user, single machine use only) with
the embedded variant.
For future reference, you can save yourself and others a lot of time
and frustration by actually including *all* the details of what
you're trying to develop with.
Helen