Subject | Re: [ib-support] Switch UDFs between Linux and Windows |
---|---|
Author | Helen Borrie |
Post date | 2001-11-13T00:14:55Z |
At 12:34 AM 13-11-01 +0200, Dorin wrote:
Suggestions: look for a similar function in one of the other libraries that DOES have versions for both platforms (e.g. ib_udf or the new fbudf, or look on the UDF page of the interbase2000.org Tools pages). Or, if the function from the FreeUDFLib is a "must have", see whether the Delphi code will recompile in Kylix as a shared object; or rewrite the function yourself in C or C++ and compile it yourself on Linux.
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>I've used the FreeUDFLib.dll on a Windows platform. Now I have to move theUnfortunately, it's not that simple. UDF code is platform-dependent so FreeUDFLib.dll won't work on Linux. Some libraries have both Windows and Unix versions but, unfortunately, FreeUDFLib isn't one of them.
>Database on a Linux Platform. All works fine, except the procs using UDFs.
>How can I change the Library_name and the Entrypoint for the new Database ?
Suggestions: look for a similar function in one of the other libraries that DOES have versions for both platforms (e.g. ib_udf or the new fbudf, or look on the UDF page of the interbase2000.org Tools pages). Or, if the function from the FreeUDFLib is a "must have", see whether the Delphi code will recompile in Kylix as a shared object; or rewrite the function yourself in C or C++ and compile it yourself on Linux.
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________