PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → WM27 and ExecuteMainThread in iOS device
WM27 and ExecuteMainThread in iOS device
Iniciado por csoft, 29,sep. 2022 17:50 - 2 respuestas
Miembro registrado
9 mensajes
Publicado el 29,septiembre 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?
Publicado el 26,octubre 2022 - 16:14
Hi,

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

ExecuteMainThread("MyProcedure")
Miembro registrado
9 mensajes
Publicado el 31,octubre 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...