Re: Timer
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Sat, 18 Jun 2005 23:41:17 -0400
<bob@xxxxxxxxxxxxxx> wrote in message
news:1119151225.279402.14150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Using timeBeginPeriod(1); in my code seems to
> make no difference. The number of calls per
> second to my function is the same.
Is the code _small_ enough to paste here?
Is your function sensitive to the thread context in which it runs? If not,
you can use timeBeginPeriod() to set the resolution apprpriately and
timeSetEvent() to schedule your function to run at periodic intervals in a
thread created by Windows' multimedia.
Regards,
Will
.
- Follow-Ups:
- Re: Timer
- From: bob
- Re: Timer
- References:
- Prev by Date: Re: Timer
- Next by Date: Re: Formatting of floating point numbers
- Previous by thread: Re: Timer
- Next by thread: Re: Timer
- Index(es):
Relevant Pages
|