Subject Learn to make UDF in lazarus
Author dayat
dear all,

i make udf project1.dll in lazarus. this udf have function of LeftString.

function LeftString(s: PChar; n: Integer):PChar;stdcall;

but, I find mistake of moment run it in firebird, with this message:
Statement Failed, SQLCODE = -104
invalid request BLR at offset 63

is there any which can assist me.

[Non-text portions of this message have been removed]