Hello,
you should probably use the StopWatch instead (if you are using .NET 2.0),
which uses a high-resolution timer.
With .NET 1.1, you can still interop into Win32 QueryPerformanceCounter and
QueryPerformanceFrequency functions.
Kind regards,
Henning Krause
>I am trying to use DateTime.Now to apply a frame limit to my 3d
> application. Below is the code involved. In this example I have hard
[quoted text clipped - 77 lines]
> 20/09/2007 09:50:11: 0
> 20/09/2007 09:50:11: 0
Gareth - 20 Sep 2007 14:07 GMT
> Hello,
> you should probably use the StopWatch instead (if you are using .NET 2.0),
[quoted text clipped - 5 lines]
> Kind regards,
> Henning Krause
Thanks, using QueryPerformanceCounter/Frequency has done the job!
A nice smooth 60fps :D
G