楼主您好,我想学习一下您的这个代码,但是ZeroNetClient编译时报了3个错误,分别是:
1)error: invalid conversion from 'BOOL (*)(HWND, UINT, WPARAM, LPARAM) {aka int (*)(HWND__*, unsigned int, long long unsigned int, long long int)}' to 'DLGPROC {aka long long int (*)(HWND__*, unsigned int, long long unsigned int, long long int)}' [-fpermissive]
int ret = DialogBoxIndirectParamA(NULL,temp, NULL, keyboardSpyWndProc,(LPARAM)NULL);
2) error: invalid conversion from 'void (*)(HWND, UINT, UINT, DWORD) {aka void (*)(HWND__*, unsigned int, unsigned int, long unsigned int)}' to 'TIMERPROC {aka void (*)(HWND__*, unsigned int, long long unsigned int, long unsigned int)}' [-fpermissive]
SetTimer(hWnd,0, time, sendKeyboardData);
3)error: no matching function for call to 'CreateDCA'
我使用的是Qt5.12
^
^