SetTimer的问题:最后一个参数怎么设置。
SetTimer(ckjb,1,40,参数4);参数4设为一个自定义函数时,无法编译。
错误信息:
hwb.cpp
F:\3d\1.1\hwb.cpp(343) : error C2664: 'SetTimer' : cannot convert parameter 4 from 'void (void)' to 'void (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,unsigned long)'
None of the functions with this name in scope match the target type
执行 cl.exe 时出错.