Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Just a matter of time...Assembly fun cont'd Reply to this message
Posted byRiff
Posted on11/29/03 03:15 AM



If you only need 18.2 ms resolution, you can use the Win32 SetTimer API function. You can set it up to either call a callback function or post a WM_TIMER message to your window procedure.

For animation, I recommend using the multimedia timer interface which is provided by the winmm DLL. The mmtimer related functions will allow similar callbacks as the standard timer interface but the resolution may be, and usually is, as small as one millisecond.

> Right now I just need some timer that is regulated the same across Windows
> platforms or something reasonably close. Can anyone offer up some more help?
> Thanks to all for contributing. I never thought I'd get this far with it.
>
>
>


-
Entire Thread
Subject  Posted byPosted On
*Just a matter of time...Assembly fun cont'd  Snowball 211/29/03 02:46 AM
..Re: Just a matter of time...Assembly fun cont'd  Riff11/29/03 03:15 AM
..*Some background  Snowball 211/29/03 03:40 AM
...*Re: Some background  Riff11/29/03 04:01 AM
....*Alright I gotta have you be a little more descriptive here  Snowball 211/29/03 01:39 PM
.....*Re: Alright I gotta have you be a little more descriptive here  Bart T.11/29/03 03:05 PM
......*Re: Alright I gotta have you be a little more descriptive here  finaldave12/02/03 06:36 AM
.......*Re: Alright I gotta have you be a little more descriptive here  Bart T.12/02/03 11:34 AM
........*Re: Alright I gotta have you be a little more descriptive here  finaldave12/03/03 08:04 AM
.........*Re: Alright I gotta have you be a little more descriptive here  Bart T.12/03/03 11:14 AM
..........*Re: Alright I gotta have you be a little more descriptive here  smf12/04/03 06:02 AM
....*Re: Some background  abcdef11/29/03 07:27 AM