1
16cy
Unregistered / Unconfirmed
GUEST, unregistred user!
function TAPI.HookProc1(const aParam: array of DWORD): DWORD;<br>begin<br> Result:= drawText(aParam[0], pchar(aParam[1]), aParam[2], aParam[3],aParam[4]);<br> MessageBox(GetActiveWindow, pchar(aParam[1]), '信息', 0);<br>end;<br>drawText函数原型:<br>function DrawText(hDC: HDC; lpString: PChar; nCount: Integer;<br> var lpRect: TRect; uFormat: UINT): Integer; stdcall;<br><br>编译上个函数是会出错,因为aParam[3]是dword型的的,而程序要求的是TREct,请问应该如何修改???