Subject | Re: Embedded and multiple clients |
---|---|
Author | Adam |
Post date | 2005-06-28T11:47:45Z |
--- In firebird-support@yahoogroups.com, "Chad Z. Hower"
<chad-jm@h...> wrote:
Two applications running the same dll are still two applications.
Think of them as inserting code into those applications at runtime
(stretching the analogy I know), you are just inserting the same code
into two different applications. You can not use embedded server in
this manner. You could of course install a regular FB server and
happily connect to the same database from the same dll running inside
different applications, or you can create a service to do the DB stuff
and talk to it. Unfortunately, multiple processes accessing the same
embedded db is not going to work.
Adam
<chad-jm@h...> wrote:
> :: No. Embedded only allows access from a single application.internally? Or
>
> Even if they are using the same DLL? Does the DLL not use IPC
> does it use direct thread IPC instead of process based IPC?DLLs are runtime linked libraries. They are not run as applications.
Two applications running the same dll are still two applications.
Think of them as inserting code into those applications at runtime
(stretching the analogy I know), you are just inserting the same code
into two different applications. You can not use embedded server in
this manner. You could of course install a regular FB server and
happily connect to the same database from the same dll running inside
different applications, or you can create a service to do the DB stuff
and talk to it. Unfortunately, multiple processes accessing the same
embedded db is not going to work.
Adam