[lazarus] win32 Timer patch

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 8 03:11:08 EDT 2003


On Mon, 8 Sep 2003 07:49:24 +0200
Vincent Snijders <vslist at zonnet.nl> wrote:

> Hi,
> 
> Attached is a patch for timer implementation in the win32 interface.
> Last year , the only way I seemed to get it working, was by creating a 
> window specially for handling timer messages. The mistake I then made
> was that forgot to set the calling convention to stdcall, because I
> assumed that stdcall was the default calling convention.
> 
> Now I have changed the timer implementation. It now uses a
> timercallbackproc, so it doesn't need the special timer windows anymore,
> which results in some code reduction.

Thanks. Applied.


Mattias






More information about the Lazarus mailing list