Witam
Czy ktos moze mi powiedziec o co biega kompilatorowi.
Mam skladowa funkcje klasy:
class CTest001Dlg : public CDialog
{
....
UINT MyProc( LPVOID pParam );
....
};
i teraz w funkcji chce utworzyc proces:
BOOL CTest001Dlg::OnInitDialog()
{
....
AfxBeginThread( MyProc, NULL,THREAD_PRIORITY_NORMAL,0,0,NULL );
....
}
a kompilator sie burze ze pierwszy argument jest nieprawidlowy
D:\programowanie\WindowsCE\test001\test001Dlg.cpp(66) : error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'
prubowalem tez umiesic funkcje poza klasa ale problem jest ten sam