F funcc Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-15 #1 我用winhex打开一个二进制文件,在00001ED4开始的四个字节里替换掉我想要修改的数据, 请问高手知道怎么搞? 最好有相应代码。
C creation-zy Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-15 #2 var F:File; Buf:array[0..3]of Char; begin AssignFile(F,'c:/abc.dat'); Reset(F,1); Seek(F,$00001ED4); Buf[0]:='a';Buf[1]:='b';Buf[2]:='1';Buf[3]:='2'; BlockWrite(F,Buf,4); CloseFile(F); end;
var F:File; Buf:array[0..3]of Char; begin AssignFile(F,'c:/abc.dat'); Reset(F,1); Seek(F,$00001ED4); Buf[0]:='a';Buf[1]:='b';Buf[2]:='1';Buf[3]:='2'; BlockWrite(F,Buf,4); CloseFile(F); end;