If you need exact timer intervals, then you can't use any version of Windows to run your code. Windows isn't a real-time operating system.
You can use the
Timer Queue API[
^] for creating events at millisecond resolution, but the execution of your code after the event is subject to scheduling delays. The only guarantee you get is that the interval between code executions is at least the specified period. See also:
Timers Tutorial[
^]