码迷,mamicode.com
首页 > Windows程序 > 详细

delphi XE Berlin ReadProcessMemory WriteProcessMemory

时间:2016-09-19 13:09:37      阅读:497      评论:0      收藏:0      [点我收藏+]

标签:

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

标签:

原文地址:http://www.cnblogs.com/cb168/p/5884673.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!