Forum: Datenbanken
Delphi
by omata,
26. Sep 2009
Nein...
-a = run as application
Forum: Datenbanken
Delphi
by omata,
26. Sep 2009
So habe die Lösung selber gefunden...
TerminateProcess(ProcessInformation.hProcess, 0);
TerminateThread(ProcessInformation.hThread, 0);
Hatte mich vertippt, deshalb klappte das vorhin bei mir nicht.
Wer eine bessere Möglichkeit kennt, bitte melden.
Forum: Datenbanken
Delphi
by omata,
26. Sep 2009
Ich starte den Firebird-Server folgendermaßen...
function ExecAndWait(const Filename, Params: string;
WindowState: word): TProcessInformation;
var SUInfo: TStartUpInfo;
CmdLine: string;
lpExitCode:dword;
begin
CmdLine:='"'+Filename+'" '+Params;