Hi !
I would like to display in a lazarus application the address of a
pointer.
For this, I use :
var s: string;
p:pointer;
[...]
s := IntToStr(PtrInt(p))
However, I've got a warning (hint) from the compiler :
Conversion between ordinals and pointers is not portable
What is the way to
Look at the Format function, you can tell it to display the address of
a pointer in a string.
Ido
On Sun, May 4, 2008 at 7:21 PM, Damien Gerard [EMAIL PROTECTED] wrote:
Hi !
I would like to display in a lazarus application the address of a pointer.
For this, I use :
var s: string;
Le May 5, 2008 à 5:10 PM, ik a écrit :
Look at the Format function, you can tell it to display the address of
a pointer in a string.
Thanks !
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___