函数原型: 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]
热门产品 :
CH592: RISC-V内核BLE5.4无线MCU