代码拉取完成,页面将自动刷新
unit frmFilePatcherUnit;
{Not implemented as I currently don't see a real use for it}
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn, PEInfoFunctions, PEInfounit, betterControls;
type
{ TfrmFilePatcher }
TfrmFilePatcher = class(TForm)
Button1: TButton;
edtBaseAddress: TEdit;
filename: TFileNameEdit;
lblFilename: TLabel;
lblBaseAddress: TLabel;
lbModules: TListBox;
rbAuto: TRadioButton;
rbManual: TRadioButton;
procedure AutoOrManual(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ private declarations }
fmodule: string;
procedure setModule(m: string);
public
{ public declarations }
property module: string read fmodule write setModule;
end;
var
frmFilePatcher: TfrmFilePatcher;
implementation
{$R *.lfm}
resourcestring
rsFilePatcher = 'File Patcher: ';
procedure TfrmFilePatcher.setModule;
begin
fmodule:=m;
caption:=rsFilePatcher+m;
end;
procedure TfrmFilePatcher.AutoOrManual(Sender: TObject);
begin
lblFilename.enabled:=rbManual.checked;
filename.enabled:=rbManual.checked;
lblBaseAddress.enabled:=rbManual.checked;
edtBaseAddress.enabled:=rbManual.checked;
lbModules.enabled:=rbAuto.checked;
end;
procedure TfrmFilePatcher.Button1Click(Sender: TObject);
begin
//get the filename to patch
//get the base address to read from
end;
end.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。