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 do this ?


--
Damien Gerard
[EMAIL PROTECTED]

"Intelligence is 10 million rules."
   -- Douglas Lenat





_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to