> >   PostMessage(Handle, WM_MY_MSG, integer(Msg), 0);
> >   ...
> > end;
> >
> > I guess that won't work with 64bit-Delphi because I cannot cast a
> pointer
> > into an integer. Will I have to split the pointer into
> Int64Rec.Lo/Hi? Any
> > ideas?
> >
> > Regards,
> > Tobias
> >
> 
> Since integer and pointer are both 8-bytes in x64, I think it would
> work.

No, Integer remains 4 Byte in x64.
But Using NativeInt should work on both 32 and 64 bit.

Regards
  Stefan Paege


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to