How do you deploy two or more applications that use Firebird Embedded databases on the same machine?

Suppose I have three separate applications called MyPasswordManager, MyToolManager and MyMovieManager. Each of these applications uses a Firebird Embedded database.

If a customer buys all three of my aplications and installs them on his/her computer. And my customer has all three applications running at the same time, what happens?

Will the Firebird dll's have conflicts? What do you do in this situation?

Upvotes: 4

Views: 1050

Answers (3)

ain
ain

Reputation: 22749

Cape, you really ought to read the "readme_embedded.txt" file in the doc directory - it has all the answers youre looking for. Some relevant quotes (for the FB 2.5 version):

2.2. Database access

The database file can be accessed by multiple client programs. The database consistency in this case is guaranteed internally (by the shared lock table).

2.4. Compatibility

You may run any number of applications with the embedded server without any conflicts. Having IB/FB server running is not a problem either.

Upvotes: 3

Birger
Birger

Reputation: 4353

If you put the Firebird dll's in the application folder (where the .exe is) there won't be a problem since this is the first place where your application will look for them.

You have to make sure that the applications each install to their own folder, if you want to use different versions of the dll's.

Upvotes: 10

José Romero
José Romero

Reputation: 462

have you tested it in your dev machine? I think just putting the apps and the dlls in different folders each one could work. Maybe renaming the dlls with different names can work too

Upvotes: 2

Related Questions