[vc++ 2005] acceder a un textbox a partir d un thread
Voila, j'ai un thread dans un Form et pendant l'execution de ce thread, je voudrais afficher des informations sur ma Form
Ca compile bien mais pendant l'execution j'ai cette erreur :
An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
Additional information: Cross-thread operation not valid: Control 'richTextBox1' accessed from a thread other than the thread it was created on.
comment faire svp?
merci