首页
社区
课程
招聘
[求助]delphi给X64DBG命令行处发送消息失败
发表于: 2019-6-30 07:15 2373

[求助]delphi给X64DBG命令行处发送消息失败

2019-6-30 07:15
2373
unit Unit1;
 
interface
 
uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
  Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
 
type
  TForm1 = class(TForm)
    Memo1: TMemo;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;
 
var
  Form1: TForm1;
 
implementation
 
{$R *.dfm}
 
procedure TForm1.Button1Click(Sender: TObject);
var
  a, b: PAnsiChar;
  h: HWND;
begin
  h := FindWindow(nil, 'x64dbg');
  h := FindWindowEx(h, 0, 'Qt5QWindowIcon1', nil);
  SendMessage(h, WM_SETTEXT, 255, Integer(PChar('我来测了')));
end;
 
end.

[课程]FART 脱壳王!加量不加价!FART作者讲授!

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//