Subject Re: [firebird-support] udf firebird delphi
Author Dimitry Sibiryakov
On 31 Mar 2004 at 6:37, Marc Collin wrote:

> begin
> for i:=Length(Str) downto 1 do

Are you sure that Length() works with PChar argument? Did you test
your function?

>under firebirdi declared:
>
>Declare external function f_MixStr cstring(64)
> returns cstring(64) free_it
> entry_point 'MixStr' module_name 'brudflib2.dll';

This is definitelly wrong declaration. You don't allocate memory in
your functions, so using free_it most likely will crash server.

SY, Dimitry Sibiryakov.