请问错在哪里??请高人指点。谢谢
asin 2003-10-16 10:22:28 namespace d3d
{…………
int EnterMsgLoop(bool (*ptr_display)(float timeDelta));
…………
}
///////////////////////////////
int d3d::EnterMsgLoop( bool (*ptr_display)(float timeDelta) )
{}
//////////////////////////////
BOOL Display(float timeDelta)
{}
/////////////////////////////
错误是:error C2664: 'EnterMsgLoop' : cannot convert parameter 1 from 'int (float)' to 'bool (__cdecl *)(float)'
None of the functions with this name in scope match the target type