Subject | AW: AW: [firebird-support] Issues with embedded server and UDF |
---|---|
Author | Alexander Gräf |
Post date | 2004-11-25T01:32:49Z |
Packing your app and the DLL in the same folder is much easier, especially when having multiple applications using different versions of Firebird. Your solution is the same; the dll evaluates the current working path from the app, and not from itself. You also need to place your .conf file in the same directory as your app.
Regards, Alex
-----Ursprüngliche Nachricht-----
Von: Rafael Szuminski [mailto:raf1hh@...]
Gesendet: Donnerstag, 25. November 2004 02:30
An: firebird-support@yahoogroups.com
Betreff: Re: AW: [firebird-support] Issues with embedded server and UDF
Danke
Rafael
------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/67folB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
Regards, Alex
-----Ursprüngliche Nachricht-----
Von: Rafael Szuminski [mailto:raf1hh@...]
Gesendet: Donnerstag, 25. November 2004 02:30
An: firebird-support@yahoogroups.com
Betreff: Re: AW: [firebird-support] Issues with embedded server and UDF
> I had some issues with UDF and embedded server too. Whats important is the following:Once I placed the exe in the same folder where fbembed.dll resides, it started working.
>
> Your application, for example app.exe loads the fbembed.dll (or gds32.dll). When fbembed.dll evaluates where to find UDFs in, it wont look in the path where itself is located, but in the path where your app resides. The structure is the following (for example):
>
> C:\FireBird\fbembed.dll
> C:\MyProject\App.exe
> C:\MyProject\Firebird.msg
> C:\MyProject\UDF\ib_udf.dll
> ...
>
> In this configuration, you dont even need a specialized .conf-File for allowing access to the UDF library.
>
> Hope this helps
> Alex
Danke
Rafael
------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/67folB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links