本文整理自网络,侵删。
delphi XE,Berlin
[dcc32 Error] Unit9.pas(93): E2033 Types of actual and formal var parameters must be identical
function ReadProcessMemory(hProcess: THandle; const lpBaseAddress: Pointer; lpBuffer: Pointer; nSize: SIZE_T; var lpNumberOfBytesRead: SIZE_T): BOOL; stdcall;{$EXTERNALSYM ReadProcessMemory}function WriteProcessMemory(hProcess: THandle; const lpBaseAddress: Pointer; lpBuffer: Pointer; nSize: SIZE_T; var lpNumberOfBytesWritten: SIZE_T): BOOL; stdcall;
lpNumberOfBytesRead: SIZE_T用dwBytesWriten: THandle;类型就可以了。SIZE_T,即NativeUInt。
相关阅读 >>
Delphi opendialog1 savedialog1 默认路径
Delphi setfileattributes 功能:修改文件属性
indy 中idhttp元件出现http status 302错误
学习使用Delphi for android 调用java类库
更多相关阅读请进入《Delphi》频道 >>