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

Marco van de Voort marcov at stack.nl
Wed Jan 27 14:51:10 CET 2010

In our previous episode, Anthony Walter said:
>     BaseWindow := CreationWindow;
>     BaseWindow.FHandle := Wnd;
>     SetWindowLong(Wnd, GWL_USERDATA, Integer(BaseWindow));

Not 64-bits safe. An integer is not a long.  Ptruint probably.

More information about the fpc-pascal mailing list