Código Delphi [-] procedure RebootApp(); begin WinExec(PChar(ParamStr(0)), SW_NORMAL); TerminateProcess(GetCurrentProcess, 0); end;
procedure RebootApp(); begin WinExec(PChar(ParamStr(0)), SW_NORMAL); TerminateProcess(GetCurrentProcess, 0); end;