🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13003

Re: Not enough timers available

#13003
From: Hern�n Tornielli
Date: Mon, 03 Nov 2003 21:34
20 lines
1795 bytes
"In�s Fern�ndez" <Nesfe2@hotmail.com> escribi� en el
mensaje news:3fa6983b$1@newsgroups.borland.com...

> I have been looking in the code and found that in all the aplication
there
> are only five timers used in different forms, and each time a timer
event is
> called I disable the timer to be sure it is not called again before the
> event finishes. I enable the timer always at the end of the event
function.

Are all the timers enabled at the same time?
If so, I second what Ed Mulroy suggested.

Also, instead of disabling the timer in the event function, I would use
a static bool to check if the event is currently being executed.

Buena suerte.

Hern�n Tornielli
Technical Details
Message-ID: <3fa6c9c3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fa6983b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,b8fa3a8b1adf4915
X-Google-Attributes: gid10cc67,public
X-Google-Thread: f5c5c,b8fa3a8b1adf4915
X-Google-Attributes: gidf5c5c,public
X-Google-ArrivalTime: 2003-11-03 13:40:47 PST
From: "Hern�n Tornielli" <hernan@nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.vcl.components.using
References: <3fa6983b$1@newsgroups.borland.com>
Subject: Re: Not enough timers available
Date: Mon, 3 Nov 2003 18:34:43 -0300
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.59.42.248
Message-ID: <3fa6c9c3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067895235 200.59.42.248 (3 Nov 2003 13:33:55 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail