[fpc-pascal] How to use a window message queue in a call?

Anthony Walter sysrpl at gmail.com
Wed Jan 27 15:02:29 CET 2010


>>     SetWindowLong(Wnd, GWL_USERDATA, Integer(BaseWindow));
>
> Not 64-bits safe. An integer is not a long.  Ptruint probably.

Ah well, there is a new API to fix this in 64 bit Windows. Use
SetWindowLongPtr/GetWindowLongPtr instead.



More information about the fpc-pascal mailing list