我来说清楚一下! 比如说玩游戏的时候你的生命值是:120
我现在就想在内存中找他的地址值。如何找!?
找到后,如何来修改呢?!
我现在就想在内存中找他的地址值。如何找!?
找到后,如何来修改呢?!
解决方案 »
- 请教大家:如何把.DCU文件反编译回源代码?谢谢。
- 关于树型结构的问题?????
- 在使用MediaPlayer,RealAudio和quicktime的activex控件时如何知道打开的文件是否有图像,是包含图像还是只有声音?
- 请教一点问题
- 怎么把按纽的颜色和窗体的颜色调成一样?
- DBGrid中的两个问题.
- 程序中要打印两种不同的小票,打算用两台相同型号的打印机。我在程序中动态的改变默认打印机,但没有达到我的要求?请问 这是为什么?谢谢
- 请问以dx开头的是哪套控件?Rz开头的呢?
- 在DELPHI5中利用QUERY控件怎样对PARADOX数据库中的日期字段进行查询。多谢!!!!!
- 有关clientdatset存储的问题
- 关于TADOQuery中虚拟字段的用法问题?
- 请问这个函数GetDIBits应该怎么用
如果你用过游戏修改工具的话就知道,一次搜索将搜到N多个120.
TMemoryStatus = record
dwLength: DWORD;
dwMemoryLoad: DWORD;
dwTotalPhys: DWORD;
dwAvailPhys: DWORD;
dwTotalPageFile: DWORD;
dwAvailPageFile: DWORD;
dwTotalVirtual: DWORD;
dwAvailVirtual: DWORD;Function called to populate TMemoryStatus:procedure GlobalMemoryStatus(var lpBuffer: TMemoryStatus); stdcall;WINAPI help for said function: VOID GlobalMemoryStatus(
// pointer to the memory status structure
LPMEMORYSTATUS lpBuffer
); Code for populating a TMemo with Information about system resources:unit Unit1;interfaceuses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.DFM}procedure TForm1.Button1Click(Sender: TObject);
var
MemoryStatus: TMemoryStatus;begin Memo1.Lines.Clear; MemoryStatus.dwLength := SizeOf(MemoryStatus); GlobalMemoryStatus(MemoryStatus); with MemoryStatus do
begin
// Size of MemoryStatus record
Memo1.Lines.Add(IntToStr(dwLength) +
' Size of ''MemoryStatus'' record');
// Per-Cent of Memory in use by your system
Memo1.Lines.Add(IntToStr(dwMemoryLoad) +
'% memory in use');
// The amount of Total Physical memory allocated to your system.
Memo1.Lines.Add(IntToStr(dwTotalPhys) +
' Total Physical Memory in bytes');
// The amount available of physical memory in your system.
Memo1.Lines.Add(IntToStr(dwAvailPhys) +
' Available Physical Memory in bytes');
// The amount of Total Bytes allocated to your page file.
Memo1.Lines.Add(IntToStr(dwTotalPageFile) +
' Total Bytes of Paging File');
// The amount of available bytes in your page file.
Memo1.Lines.Add(IntToStr(dwAvailPageFile) +
' Available bytes in paging file');
// The amount of Total bytes allocated to this program
// (generally 2 gigabytes of virtual space).
Memo1.Lines.Add(IntToStr(dwTotalVirtual) +
' User Bytes of Address space');
// The amount of avalable bytes that is left to your program to use.
Memo1.Lines.Add(IntToStr(dwAvailVirtual) +
' Available User bytes of address space');
end; // with
end; // procedureend.