RTC Forums
May 24, 2024, 07:56:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Mobile app: EXECUTING remote function freeze the app if ....  (Read 3515 times)
mastinfo
RTC License
***
Posts: 29


« on: October 27, 2014, 12:25:41 PM »

.. the Multithreaded property of the TRTCHTTPClient object is set to false.
If Multithreaded is set to true works perfectly.
The function i'm calling returns a dataset.
Doing the same thing in Windows works fine.
Is it WAD ?

thanks

Roberto
Logged
mastinfo
RTC License
***
Posts: 29


« Reply #1 on: October 27, 2014, 12:36:15 PM »

Nevermind, i see only now that firemoney apps need to use rtcFMX.GUI

Roberto
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #2 on: October 27, 2014, 12:54:30 PM »

Correct. You need to use the "rtcFMX.GUI" unit when working with FireMonkey on mobile platforms, because the standard Synchronize method in the RTL doesn't work on non-Windows platforms. I don't know why Embarcadero still hasn't fixed that problem. It has been here since Delphi XE2.

Best Regards,
Danijel Tkalcec
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.