delphi XE Berlin ReadProcessMemory WriteProcessMemory
Posted lypzxy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了delphi XE Berlin ReadProcessMemory WriteProcessMemory相关的知识,希望对你有一定的参考价值。
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;类型就可以了。
以上是关于delphi XE Berlin ReadProcessMemory WriteProcessMemory的主要内容,如果未能解决你的问题,请参考以下文章
咏南中间件+开发框架支持最新的DELPHI XE10.1(BERLIN) UPDATE2