函数原型: typedef VOID ( CALLBACK *mPCH365_INT_ROUTINE ) ( VOID );
BOOL WINAPI CH365SetIntRoutine( ULONG iIndex, mPCH365_INT_ROUTINE iIntRoutine );
我定义了函数:VOID CALLBACK CPCITESTDlg::IntTest()
在调用 CH365mSetIntRoutine(mIndex,IntTest);时出现问题:error C2664: 'CH365mSetIntRoutine' : cannot convert parameter 2 from 'void (void)' to 'void (__stdcall *)(void)' 该怎么解决呀! 谢谢了! [Emot]20[/Emot]
热门产品 :
CH32L103: 32位PDUSB低功耗单片机