Forum: Win32/Win64 API (native code)
Delphi
by Gargamel,
30. Jan 2010
Auch das funktioniert astrein. Danke.
Forum: Win32/Win64 API (native code)
Delphi
by Gargamel,
30. Jan 2010
Das habe ich auch probiert. Leider habe ich mit der Funktion FormatMessage meine Probleme.
Forum: Win32/Win64 API (native code)
Delphi
by Gargamel,
30. Jan 2010
Sehr schön. Funktioniert prima. Danke.
Forum: Win32/Win64 API (native code)
Delphi
by Gargamel,
30. Jan 2010
OK, es soll ein Programm mit CreateProcess gestartet werden. Leider zuckt sich nix.
Hier ist der Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
var CommandLine:string;
Dir:PChar;
StartUpInfo: TStartUpInfo;
begin
CommandLine:='C:\Windows\notepad.exe';