This is more of an MFC question but maybe someone can assist.
In Bluetools I see this line inside OnReadCompleted
// NOTE! MFC is not thread safe and we are called in a new thread.
// Updating controls can be unsafe
What I want to do is exactly this. I have a standard MFC dialog which I would like to change some basic text inside and I need to do this with a function call from OnReadCompleted.
When I do this however I get really strange behaivour. What is the correct approach to take here, I just want to update the dialog text.