Autor Beitrag
AuronX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Mi 21.07.04 00:21 
Komme mit createprocess nicht klar. Die Parameter machen mir zu schaffen. Welche Parameter braucht der Befehl um richtig zu arbeiten?
ausblenden Delphi-Quelltext
1:
procedure CreateProcess(const ExeName, Args: stringconst RemoteHost: string = '');					

Komme mit dem "const RemoteHost: string = '' " nicht klar. Was will die Kiste von mir? Bin dankbar für jeden Denkanstoß, danke an alle.

Moderiert von user profile iconTino: Titel geändert.
Moderiert von user profile iconTino: Delphi-Tags hinzugefügt.
Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mi 21.07.2004 um 09:01
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 21.07.04 03:47 
const: Parameter wird von Funktion nicht verändert
RemoteHost: Host-Rechner auf dem der Befehl ausgeführt werden soll
:String; : Parameter ist ein String.
= '': Wenn Parameter nicht angegeben, wird ein leerer String als Standard übergeben.

P.S.: RemoteHost kann wegfallen, wenn du den Prozess lokal starten willst.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.