My problem is:
Error 1 error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject' c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h 1991 1 ProcessInfo
And my code:
boost::thread timerThread(&CMainFunctions::TimerFunction, this, pid, TIMER_INTERVAL_MS, lstBox);
lstBox
is MFC ListBox., my TimerFunction is:
void CMainFunctions::TimerFunction(int pid, int interval, CListBox &lstbox)
What I need to do, to edit my MFC form, or rather edit my ListBox in my form in thread?