On Thu, 15 Oct 2009 10:56:17 +0200
Graeme Geldenhuys <[email protected]> wrote:

> On 15/10/2009, Michael Van Canneyt <[email protected]> wrote:
> >
> >  Where do you see that ? Not in my docs ?
> 
> Ah, I was viewing an old v2.0.2 ref.pdf document. I see the newer
> ref.pdf (Table 3.2) is now different and clearly mentions that
> Cardinal is always a 32bit type (LongWord). I'll make sure I delete
> all old FPC pdf documents lying around to not make that mistake again.
> 
> So if I want to use a unsigned integer (pointer) type and be correct
> on each platform, must I use the ValUInt type instead? See my
> GetMem/FreeMem thread for an example.

PtrUInt

About PLong: use unit ctypes: PCLong


Mattias
 
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to