<br><font size=2 face="sans-serif">The Win32 API function timeGetTime isn't part of the 1.0.6 release (4/23/2002), but since it's in the reference it probably should be. Here's what the reference says:</font>
<br>
<br><font size=2 face="sans-serif">        DWORD timeGetTime(VOID); </font>
<br>
<br><font size=2 face="sans-serif">I found the function defined in the file \winnt\system32\winmm.dll, so I added the following line to my source code:</font>
<br>
<br><font size=2 face="sans-serif">        Function timeGetTime:DWORD; external 'winmm' name 'timeGetTime';</font>
<br>
<br><font size=2 face="sans-serif">Should this function be added to future versions of FPC?</font>
<br>
<br><font size=2 face="sans-serif">Jim</font>