Subject Re: [firebird-support] FB UDF experience
Author Dimitry Sibiryakov
> In the most cases the problem were that I passed string (PChar) parameteres to the dll and therefore the ShareMem must be the first entry in the library's Uses clause. But the ShareMem.pas is the interface unit to the borlandmm.dll located in the Delphi/Bin folder. So, the borlandmm.dll must be deployed with the mentioned UDF libs. This method solved all my problems about UDFs on any Windows OS. No more deployment problems!! :-)

Unfortunately, Firebird is not written in Delphi, so ShareMem is
completely useless in UDF.

SY, SD.