Results 1 to 2 of 2

Thread: mmSystem in fpc for MacOS

  1. #1

    mmSystem in fpc for MacOS

    Does FPC for MacOS have something similar to mmSystem.pas unit?

    It does not come in the default installer... but I need to use funcitons like QueryPerformanceFrequency and QueryPerformanceCounter... Does exists some alternative to use with FPC in MacOS?

    Thanks!

  2. #2

    mmSystem in fpc for MacOS

    Microseconds(value) from MacOSAll.pas
    Code:
    procedure Microseconds(var microTickCount: UnsignedWide); external name '_Microseconds';

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •