RTC Forums
September 20, 2020, 04:47:12 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

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


« 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.021 seconds with 16 queries.