On Wed, 18 Mar 2015 15:29:14 +0000 Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> wrote:
> On 2015-03-18 15:23, Tony Whyman wrote: > > PtrInt is used in that very useful method TApplication.QueueAsync > > Call. > > Though I never used the QueueAsync() call myself, but looking at the > declaration, shouldn't that data type be PtrUInt anyway? As far as I > understand Data points to data in memory, which will always be an > positive (unsigned) value, not so? It is arbitrary Data. The passed method already contains an Object (data in memory). The Data is usually used as a state or index within the object. But it can also contain a pointer. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal