Subject OT UDF Debugging
Author Gerhardus Geldenhuis
Hi
This is not really relevant to IBO but most of you uses Delphi and IB/FB so
should be able to help me.
How do I debug a udf in a dll on the server. Must I do it with remote
debugging, because I have never used that. Alternatively here is the problem
code.

function
RetailPrice(Width,Height,RF,WF:Integer;CP:Double;Operation,CalcType:PChar):D
ouble;
var
K:Double;
Op,CT:String;
begin
Op:=Operation;
Op:=TrimLeft(UpperCase(Op));
CT:=CalcType;
CT:=TrimLeft(UpperCase(CT));

I suspect that there is a problem with the conversion between pchar and
string because I get a error "Connection Lost" when I execute the procedure.

Groete
Gerhardus