Arno Garrels wrote: > No, WPARAM and LPARAM are 64-bit in WIN64 so just cast the pointer to > WParam in your sample. > PostMessage(Handle, WM_MY_MSG, WParam(Msg), 0);
Oh, that's fine! > NativeInt and NativeUInt are Delphi's integer types that always have > the size of a Pointer. Integer will _not change of course. Just noticed that even my Delphi 2006 supports NativeInt. Will use it for pointer/handle casting related code whenever I stumble over it now. Regards, Tobias -- 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