Subject | UDF:s and strings i Delphi |
---|---|
Author | Kjell Rilbe |
Post date | 2005-02-10T18:34:41Z |
Hi,
I saw in an UDF intro doc for Delphi that you could cast the string
input args to Delphi strings using
string(ThePCharArg)
I've also read that UDF:s should use FB's (IB's?) memory allocation
function(s).
But doesn't the above string conversion allocate dynamic memory in
Delphi? Will it really work?
(I would be using Delphi 7...)
Thanks,
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
I saw in an UDF intro doc for Delphi that you could cast the string
input args to Delphi strings using
string(ThePCharArg)
I've also read that UDF:s should use FB's (IB's?) memory allocation
function(s).
But doesn't the above string conversion allocate dynamic memory in
Delphi? Will it really work?
(I would be using Delphi 7...)
Thanks,
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64