PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → WM27 and ExecuteMainThread in iOS device
WM27 and ExecuteMainThread in iOS device
Iniciado por csoft, set., 29 2022 5:50 PM - 2 respostas
Membro registado
9 mensagems
Publicado em setembro, 29 2022 - 5:50 PM
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 em outubro, 26 2022 - 4:14 PM
Hi,

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

ExecuteMainThread("MyProcedure")
Membro registado
9 mensagems
Publicado em outubro, 31 2022 - 5:12 PM
Wim Nihoul wrote:
Hi,

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

ExecuteMainThread("MyProcedure")


Yes...