Thanks Wily... On Tue, Dec 15, 2009 at 7:19 PM, Wily Dev <[email protected]> wrote:
> >> I found something strange like this: When I use Sleep(1) function in > repeat-until block, the program can read every 10 ms. But only Windows Home > Edition.* *So I* *don't use Sleep function ;) << > > THAT, in itself, will cause the same problem. Sleep() has a different > minimum timer resolution on every version of Windows. (Which is also > dependent on the resolution of the system clock, etc.) If you need higher > resolution, you'll need to use other (higher res) timer functions (as you've > most likely already done). > > I believe Microsoft's documentation for sleep() and sleepex() even > describes some of the other functions for higher res needs... ? There > should also be lots of other web resources discussing the issue. If I > remember correctly, that 10 ms timer minimum came up fairly frequently, but > it's been quite a while since that was an issue for me, ... and I'm getting > older <g>... > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > synalist-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/synalist-public > >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
