Hello, I'm using CreatThread in a visual application, and I pass the "this" pointer to the thread. But when I want to access to a CNi object like Knob or Button, created in my view, a abnormal program termination occured.
void ThreadPortique(LPVOID param)
{
((CStation4View *)param)->m_ledConnect2.SetValue(true);
}
First :Could I do this kind of thinks;
Second :If yes....How ????