hiya,

this function poitner is located on another class

class b {
void Push(void (*State)());
};

so,

class a {
b;
void functiontopush();
void somefunction();
}

void a::somefunction()
{
b.push(functiontopush) // error,
}

cannot convert parameter 1 from 'void (void)' to 'void (__cdecl *)(void)'

thanks!