On 1 okt '12, michael.vancann...@wisa.be wrote:
> On Mon, 1 Oct
2012, dhkblas...@zeelandnet.nl [2]wrote:
>
>> Hi Tomas, Thanks for
clarifying. I will use PtrUInt to store the pointer address in. BTW: the
documentation it says not to use PtrInt because it's signed and
therefore smaller than a
On Mon, 1 Oct 2012, dhkblas...@zeelandnet.nl wrote:
Hi Tomas,
Thanks for clarifying. I will use PtrUInt to store the
pointer address in. BTW: the documentation it says not to use PtrInt
because it's signed and therefore smaller than a pointer (as in max
value).
Also there seems to be an er
Hi Tomas,
Thanks for clarifying. I will use PtrUInt to store the
pointer address in. BTW: the documentation it says not to use PtrInt
because it's signed and therefore smaller than a pointer (as in max
value).
Also there seems to be an error in the documentation. On
http://www.freepascal.or
On Mon, October 1, 2012 10:43, dhkblas...@zeelandnet.nl wrote:
Hi,
> I want to ask if casting an integer to a pointer is valid
> over all platforms. See below:
>
> p: PInteger;
> v: longint;
>
> [...]
>
> v :=
> 4235423;
>
> p := PInteger(v);
>
> Of course, the value of the pointer
> adress may