svGetxII.dpr
Upload User: xshpiao
Upload Date: 2022-07-15
Package Size: 139k
Code Size: 0k
Category:

Remote Control

Development Platform:

Delphi

  1. program svGetxII;
  2. uses
  3.   Forms,
  4.   messages,
  5.   windows,
  6.   Sysutils,
  7.   Unit1 in 'Unit1.pas' {frmMain};
  8. {$R *.res}
  9. var
  10.   handle:integer;
  11. begin
  12.   handle:=findwindow('TfrmMain',nil);
  13.   if handle<>0 then
  14.   begin
  15.     SendMessage(handle,wm_close,0,0);
  16.     sleep(1000);
  17.   end;
  18.   Application.Initialize;
  19.   Application.Title := 'GetX-II 服务器端';
  20.   Application.CreateForm(TfrmMain, frmMain);
  21.   Application.ShowMainForm :=false;
  22.   Application.Run;
  23. end.