プロジェクトでJNative のメソッドを使用しCallWindowProc
ていますが、パラメーターで奇妙なエラーが発生しました。誰が何が悪いのか提案できますか?
私のコード:
User32.CallWindowProc(new LONG(hotkey.getPrevWndProc()),
new HWND((int)values[0]),
new UINT((int)values[1]),
new WPARAM((int)values[2]),
new LPARAM((int)values[3])).getValue();
エラーメッセージ (CallWindowProc
下線付き):
The method CallWindowProc(LONG, HWND, int, WPARAM, LPARAM) in the type User32 is not applicable for the arguments (LONG, HWND, UINT, WPARAM, LPARAM)
アドバイスのためのThx :)