In my class i have a pointer to point to different functions and i want to use that pointer to call the functions from a static member of the class.
I thought something like this would work...
But it doesnt. I get these errors...Code:(pPARENT.*m_pInputOnCharProc)(&wParam);
pPARENT is the variable thats holding the "this" of the class.Code:cdlgmain.cpp(192) : error C2597: illegal reference to data member 'CDlgMain::m_p InputOnCharProc' in a static member function cdlgmain.cpp(192) : error C2568: '.*' : unable to resolve function overload
Any ideas?




Reply With Quote