PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB19] - using ExecuteThread throws an error
[WB19] - using ExecuteThread throws an error
Iniciado por guest, 08,ago. 2015 18:27 - 2 respuestas
Publicado el 08,agosto 2015 - 18:27
Hi All -

ThreadExecute("Thread1",threadNormal,gpoPrj:System_UpdateStatus_ContactsAndMemberships())

Come back with an error - No syntax of ThreadExecute is compatible.

Anyone tell what I'm doing wrong?

Thanks!
Publicado el 09,agosto 2015 - 16:46
Joel,

Try removing the last () after ...AndMemeberschipt, so that you only have the name of the function.

Have a nice day
Danny
Publicado el 11,agosto 2015 - 21:02
Thanks Danny -

That helped, but needed to make the method "GLOBAL" and then use

ThreadExecute("Thread1",threadGlobalContext,clProject.System_UpdateStatus_ContactsAndMemberships)

to get it to work.

Thanks!

J