Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-09

win32 Timer patch

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Vincent Snijders: Something used privately slipped through in the patch. Please, remove line 117 of…
Mattias, Something used privately slipped through in the patch. Please, remove line 117 of win32int.pp.

Smallest patch ever.

Mattias

Show quoted text 36 lines
Regards, Vincent. > -----Oorspronkelijk bericht----- > Van: Mattias Gaertner > Verzonden: maandag 8 september 2003 9:15 > Aan: > Onderwerp: Re: [lazarus] win32 Timer patch > > On Mon, 8 Sep 2003 07:49:24 +0200 > Vincent Snijders 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 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Vincent Snijders

Mattias,

Something used privately slipped through in the patch. Please, remove line 117 of win32int.pp.

Regards,
Vincent.

Show quoted text 13 lines
-----Oorspronkelijk bericht----- Van: Mattias Gaertner Verzonden: maandag 8 september 2003 9:15 Aan: Onderwerp: Re: [lazarus] win32 Timer patch On Mon, 8 Sep 2003 07:49:24 +0200 Vincent Snijders 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

Show quoted text 5 lines
> 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,

Show quoted text 6 lines
> which results in some code reduction. Thanks. Applied. Mattias

Reply by email

Mattias Gaertner
to Vincent Snijders: Attached is a patch for timer implementation in the win32 interface. Last year , the only…
Show quoted text 11 lines
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

Reply by email

Vincent Snijders

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.

Regards,
Vincent.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gz00036.gz
Type: application/octet-stream
Size: 3127 bytes
Desc: "timer.patch.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030908/4729d662/gz00036.obj

Reply by email