Hi all,


I'm writing an application that have a worker thread : this thread read data from a serial port; at the end of this thread I must update the views of my program. I call the function "CDocument::UpdateAllViews" from my thread but the application generate an application-error.

How can I update the views from my worker thread ?


Thanks in advance for your answer.