[fpc-pascal]Missing Win32 API function

James_Wilson at i2.com James_Wilson at i2.com
Fri Aug 2 22:09:44 CEST 2002


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:

        DWORD timeGetTime(VOID); 

I found the function defined in the file \winnt\system32\winmm.dll, so I 
added the following line to my source code:

        Function timeGetTime:DWORD; external 'winmm' name 'timeGetTime';

Should this function be added to future versions of FPC?

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020802/0115ebff/attachment.html>


More information about the fpc-pascal mailing list