Subject Re: [firebird-support] FB UDF experience
Author Dimitry Sibiryakov
> Was a lot of time ago, but if IIRC Delphi 7 wide strings need
> borlandmm.dll because of their reference counting. If in your UDF you
> use strings or implicit conversion between PChar to string and viceversa
> you need ShareMem or FastMem.

Nope. ShareMem is required only when strings are passed to and from
DLL. And both application and DLL must be compiled with Delphi/BCB. For
UDF it can't work. UDF must use ib_util_malloc() for allocating memory,
returned to Firebird.

SY, SD.