B bluebird Unregistered / Unconfirmed GUEST, unregistred user! 1999-04-08 #1 procedure WriteMemByByte(Point;Index:longint;b:byte); p 内存块首地址 index 内存块的第index个字节位置 byte 要写入的字节
R redforks Unregistered / Unconfirmed GUEST, unregistred user! 1999-04-08 #2 procedure WriteMemByByte(P: point Index: integer b: byte) stdcall; begin Inc(PChar(P), Index); PChar(P)^ := Char(b); end; exports WriteMemByByte index 1 name 'WriteMemByByte'; begin end;
procedure WriteMemByByte(P: point Index: integer b: byte) stdcall; begin Inc(PChar(P), Index); PChar(P)^ := Char(b); end; exports WriteMemByByte index 1 name 'WriteMemByByte'; begin end;
B bluebird Unregistered / Unconfirmed GUEST, unregistred user! 1999-04-08 #3 redforks: 已经试过了,但还是有点不灵. bluebird.
B bluebird Unregistered / Unconfirmed GUEST, unregistred user! 1999-04-08 #4 这么写可以吗? procedure WriteMemByByte(P: point Index: integer b: byte) stdall; begin p := pchar(integer(p)+index); fillmemory(p,1,b); end;
这么写可以吗? procedure WriteMemByByte(P: point Index: integer b: byte) stdall; begin p := pchar(integer(p)+index); fillmemory(p,1,b); end;