Home » U++ Library support » U++ Library : Other (not classified elsewhere) » GUI and Thread (Call GUI fonction into thread)
GUI and Thread [message #47061] |
Thu, 24 November 2016 15:31 |
|
Hi,
Sorry for my English, i'm French and i don't speak very well this language.
I have a problem, i want to print something into a LineEdit into a thread.
This is what I wrote:
void Processus( bool *boucle, LineEdit *l )
{
while( boucle )
{
l->Insert(-1, "test\n" );
boucle = false;
}
}
...
void Test::ConnexionClient()
{
...
Thread::Start( callback2( Processus, &boucle, &client.lignesClient ) );
boucle = true;
...
}
In lay file i have:
ITEM(LineEdit, lignesClient, LeftPosZ(7, 601).TopPosZ(85, 253))
I have this error when i execute my program:
Can you help me ? How to use GuiLock ?
I'm using TheEDI Windows edition.
Thank you !
|
|
|
Goto Forum:
Current Time: Tue Jun 04 00:23:45 CEST 2024
Total time taken to generate the page: 0.01787 seconds
|