On 11/09/13 14:02, Juha Manninen wrote: > On Wed, Sep 11, 2013 at 3:24 PM, Richard Mace <richard.m...@gmail.com> wrote: >> Can't it be type casted because both a pointer and integer are 4 bytes? > > They are both 4 bytes only in 32-bit computers. > > Juha >
And if your program is compiled to 32bit executable and ran on 64bit mode Windows in compat mode (e.g. win7+)? (i guess this question is rhetorical ;) -L. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus