我在type里写了
[23] function SetCursorPos(iCursorPosX, iCursorPosY :integer):HRESULT;
在implementation里写了
[29] function SetCursorPos; external 'xxxx.dll' name '_stdcall SetCursorPos';
提示
(23)Unsatisfied forward or external declaration: 'SetCursorPos'
(29)Previous declaration of 'SetCursorPos' was not marked with the 'overload' directive