I'm using Visual C++ 6.0.
I have a class definition with the following private member function declaration.
private:
int CVICALLBACK commandRoll(int panel,
int control,
int event,
void *callbackData,
int eventData1,
int eventData2);
Within another member function of the same class, I'm trying to call:
status = InstallCtrlCallback (itcsHandle,
ITCSGui_rollProp,
commandRoll, &callbackData);
I get following compiler error:
error C2664: 'InstallCtrlCallback' : cannot convert parameter 3 from 'int (int,int,in
t,void *,int,int)' to 'int (__cdecl *)(int,int,int,void *,int,int)'
None of the functions with this name in scope match the target type.