Article View: borland.public.cppbuilder.nativeapi
Article #10979Re: widows timer in service
From: Remy Lebeau (TeamB)
Date: Tue, 02 Mar 2004 18:33
Date: Tue, 02 Mar 2004 18:33
13 lines
1294 bytes
1294 bytes
"Boba" <Boba@somewhere.world> wrote in message news:4044cf72@newsgroups.borland.com... > What is an analog of Windows Timer to use in a service? Assuming you are referring to TTimer/SetTimer(), then there is none. You can use a multimedia timer (timeSetEvent()), a waitable timer (CreateWaitableTimer()), or simply call Sleep() for the desired duration. Gambit
Technical Details
Message-ID:
<4044d173$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4044cf72@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a61834f19fb03838 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-02 10:40:36 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4044cf72@newsgroups.borland.com> Subject: Re: widows timer in service Date: Tue, 2 Mar 2004 10:33:18 -0800 Lines: 15 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: 67.22.138.253 Message-ID: <4044d173$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078251891 67.22.138.253 (2 Mar 2004 10:24:51 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail