圈圈usb cannot convert from 'BOOL (__thiscall CMyUsbHidTestAppDlg::* )(UINT,DWORD)' to 'LRESULT (__

圈圈usb 例子 cannot convert from 'BOOL (__thiscall CMyUsbHidTestAppDlg::* )(UINT,DWORD)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'

解决办法

函数体定义处的函数名称改为:LRESULT CMyUsbHidTestAppDlg::OnDeviceChange(WPARAM nEventType, LPARAM dwData)类定义处的函数声明改为:afx_msg LRESULT OnDeviceChange(WPARAM nEventType, LPARAM dwData );

在21 ic上找到的答案 ,特此记录下来。

你可能感兴趣的:(圈圈usb cannot convert from 'BOOL (__thiscall CMyUsbHidTestAppDlg::* )(UINT,DWORD)' to 'LRESULT (__)