PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → WM27 and ExecuteMainThread in iOS device
WM27 and ExecuteMainThread in iOS device
Débuté par csoft, 29 sep. 2022 17:50 - 2 réponses
Membre enregistré
9 messages
Posté le 29 septembre 2022 - 17:50
Hello everybody,
I have a problem with my application and can't find a way to fix it.
I have a developed application, in Windev Mobile 27, for Android and iOS that uses a procedure (Secure Thread) to carry out some processing. Within this procedure I use the "ExecuteMainThread" to update a window looper control.

Both in the windev emulator (ios and Android) and in the Android phisical devices everything works smoothly. On iOS, however, the application hangs on the statement containing the "ExecuteMainThread". It does not enter the procedure and stands still without moving forward.

Any suggestions?
Posté le 26 octobre 2022 - 16:14
Hi,

Did you use quotes for the procedure to be excuted in the main thread, e.g.

ExecuteMainThread("MyProcedure")
Membre enregistré
9 messages
Posté le 31 octobre 2022 - 17:12
Wim Nihoul wrote:
Hi,

Did you use quotes for the procedure to be excuted in the main thread, e.g.

ExecuteMainThread("MyProcedure")


Yes...