Re: Timer



<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


.



Relevant Pages

  • Re: VBA to expose details of zip files
    ... What version of Windows? ... Regards, ... Tom Ogilvy ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • Re: Open With... Help
    ... Regards, ... Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User] ... Prev by Date: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Satellietfotos
    ... Does not work with windows ... Prev by Date: ...
    (soc.genealogy.benelux)
  • Re: /pae switch memory extension
    ... This NG deals with Windows XP Embedded. ... You may want to post your question to more appropriate newsgroup. ... Regards, ... Prev by Date: ...
    (microsoft.public.windowsxp.embedded)
  • Re: MCI Error with video
    ... > PowerPoint does very little with Multimedia other than hand it over to ... > Windows for play back. ... > The MCI dates back a decade or so and was first introduced with Windows ... > installing the codecs and registering them on the system. ...
    (microsoft.public.powerpoint)