Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-08

Missing Win32 API function

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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

Reply by email