[lazarus] The timer issue (win32)

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Jun 25 11:25:03 EDT 2003




On Wed, 25 Jun 2003, Micha Nelissen wrote:

> Hi,
>
> You owe me one on this one :) !
>
> It seems the compiler does not differentiate between various calling
> standards? (stdcall, pascal, etc)? AAAARRRGGGHHH.

It does.

-    lpfnWndProc := WndProc(@TimerWindowProc);
+    lpfnWndProc := @TimerWindowProc;

.. only it was disabled here because of the forced typecast !

So this is not really the compiler's mistake...

Anyway, good that it is fixed.


Michael.






More information about the Lazarus mailing list