RTC Forums
November 27, 2024, 11:36:10 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: function Get_TickTime Exception  (Read 3212 times)
bikotronic
RTC License
***
Posts: 11


« on: September 11, 2020, 08:33:50 AM »

Delphi 10.x
RealThinClientSDK_v951_2020Q2
unit rtcSystem;

The function Get_TickTime uses the function INT64 but returns a cardinal.
on ios there will be a exception

Code:
  {$ELSE}{$IFDEF MACIOS}
    var
      tv: timeval;
    begin
    gettimeofday(tv, nil);
    Result := int64(tv.tv_sec) * 1000 + tv.tv_usec div 1000;
    end;
  {$ELSE}

here is the fix
Line 796
function Get_TickTime:int64;//Cardinal;
Line 2733
function Get_TickTime:int64;//Cardinal;

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 17 queries.