Subject | Using embedded db with a different directory structure |
---|---|
Author | daniel.hoeh |
Post date | 2009-10-14T12:26:18Z |
Hi guys,
in a middle sized open source project, we want to use FireBird embedded as the default database engine. It will be integrated via a plugin mechanism using foreign directories for each plugin at a defined place under the application root directory. The application is written in C# and uses the .net Firebird provider. The application's plugin loading mechanism loads the plugin's assembly dll files explicitly from their plugin directory; the .net firebird provider dll is one of them. It then loads the fbembed.dll from the same directory.
The problem now is that the embedded server tries to load its support libraries in the "intl" directory as well as the "firebird.msg" file from the application's root directory.
Is there any chance to tell the embedded server to load its support files relative to its own dll rather than relative to the application's root directory?
Thanks in advance!
Daniel
in a middle sized open source project, we want to use FireBird embedded as the default database engine. It will be integrated via a plugin mechanism using foreign directories for each plugin at a defined place under the application root directory. The application is written in C# and uses the .net Firebird provider. The application's plugin loading mechanism loads the plugin's assembly dll files explicitly from their plugin directory; the .net firebird provider dll is one of them. It then loads the fbembed.dll from the same directory.
The problem now is that the embedded server tries to load its support libraries in the "intl" directory as well as the "firebird.msg" file from the application's root directory.
Is there any chance to tell the embedded server to load its support files relative to its own dll rather than relative to the application's root directory?
Thanks in advance!
Daniel