开发者

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

开发者 https://www.devze.com 2023-03-28 13:03 出处:网络
Suppose I have three separate applications called MyPasswordManager, MyToolManager and MyMovieManager. 开发者_JAVA技巧Each of these applications uses a Firebird Embedded database.

Suppose I have three separate applications called MyPasswordManager, MyToolManager and MyMovieManager. 开发者_JAVA技巧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?


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.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号