Subject | Re: [firebird-support] FB UDF experience |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2009-06-30T10:06:03Z |
> Was a lot of time ago, but if IIRC Delphi 7 wide strings needNope. ShareMem is required only when strings are passed to and from
> 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.
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.