[DUG] Ttimer wonderings - and who wants a free widget
Analogclock?
Matthew Comb
matt at ferndigital.com
Fri Jul 21 12:11:14 NZST 2006
I think you are not using the standard TTimer ?
Perhaps it has a thread underneath.
Try synchronizing your OnTimer code.
Matt.
> Ditto,
>
> I must haveused it on at least 40 apps/appelets. Never had any problem
> with freezing, except being sporadic on 95s. And the longest running one
> would easily be a few months.
>
> From: "Dennis Chuah" <dennis_cs_chuah at hotmail.com>
> To: "'NZ Borland Developers Group - Delphi List'"
> <delphi at ns3.123.co.nz>
> Subject: Re: [DUG] Ttimer wonderings - and who wants a free widget
> Analogclock?
> Date sent: Fri, 21 Jul 2006 11:43:46 +1200
> Send reply to: NZ Borland Developers Group - Delphi List
> <delphi at ns3.123.co.nz>
> <mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
> <mailto:delphi-request at ns3.123.co.nz?subject=subscribe>
>
> [ Double-click this line for list subscription options ]
>
>
> John,
>
> Hi. I don't think the timer code is the problem. I wrote a system tray
> application that uses TTimer to call code that scans for media player, and
> makes it semi transparent if it using skins. The application runs without
> any lockups. The longest that I have had it running was for a just over a
> month, and no problems.
>
> Cheers,
> Dennis.
>
> ----- Original Message -----
> From: "John Bird" <johnkbird at paradise.net.nz>
> To: "'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
> Sent: Friday, July 21, 2006 10:45 AM
> Subject: RE: [DUG] Ttimer wonderings - and who wants a free widget
> Analogclock?
>
>
>>I have two programs with long running timers, and both tending to freeze,
>> after some hours. And not at the same time.
>>
>> One is a menu dispatcher program which just puts the current date and
>> time
>> into a text label every second. The programs attempts to disable and
>> re-enable the timer do NOT work even though the rest of the program does
>> -
>> it stays frozen, ie the timer is no longer working at all.
>>
>> The other is a quite cool widget clock.
>>
>> Either of them prone to freezing.
>>
>> Maybe its my system. I have the Windows XP Power toys task switcher
>> installed (gives a small screen shot of each task as you Alt/Tab through
>> them, but its always been rather buggy). That is often showing as the
>> dominant task when one of the clocks freezes (Thanks to Process
>> Explorer -
>> well actually process explorer is the other candidate....).
>>
>> The clock has a bit more in its timer loop, but not that much....20-30
>> lines
>> of code, mainly just simple calculation and canvas draw.
>>
>> Would anyone else like to test the widget clock on their system to see
>> if
>> its just here?
>>
>> A bit about it:
>>
>> -Part of a suite of time management tools, but stand alone free giveaway
>> -
>> source too if interested.
>>
>> -Did it to tech myself a bit of graphics and fancy type windows
>>
>> -inconspicuous on the system ie 399K and has never shown as using any
>> CPU.
>>
>> -Inconspicuous floating desktop clock - Mixture of transparent form and
>> alphablend and always on top makes it look just like one of the Max OSX
>> or
>> Vista widgets/gadgets, can be dragged by the roundframe (the rest is
>> transparent)
>>
>> -Based on the look of one of the Opera transparent widget clocks, but
>> also
>> with seconds and date. The Opera one only runs while the browser is
>> open.
>>
>> Email me if you would like a free copy to test - any comments welcome as
>> well.
>>
>> John
>>
>>
>> _______________________________________________
>> Delphi mailing list
>> Delphi at ns3.123.co.nz
>> http://ns3.123.co.nz/mailman/listinfo/delphi
>>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> Regards
>
> Rohit
>
> ======================================================================
> CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
> PH (649) 489-2280
> FX (649) 489-2290
> email rohit at cfl.co.nz or r.gupta at xtra.co.nz
> ======================================================================
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
More information about the Delphi
mailing list