Autor Beitrag
Black200607
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 50

Win XP
Pascal(Free Pascal/Lazarus), Java, Php, Python
BeitragVerfasst: Di 06.11.07 20:35 
ich möchte ein exe-Programm(c++-compiler) in einem (delphi-)Programm starten.
Ich weiß ich nicht ob man es überhaupt möglich ist und wie es funktioniert.

Danke im Voraus
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Di 06.11.07 20:36 
ShellExecute + F1
CreateProcess + F1

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!
Black200607 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 50

Win XP
Pascal(Free Pascal/Lazarus), Java, Php, Python
BeitragVerfasst: Di 06.11.07 20:42 
Bei mir ist blöderweise die Hilfe englisch. kannst du mir bitte kurz erklären wie das funktioniert
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Di 06.11.07 22:32 
Dann nimm doch die Forumssuche und such nach diesen Begriffen. :wink:

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Di 06.11.07 22:58 
user profile iconBlack200607 hat folgendes geschrieben:
ich möchte ein exe-Programm(c++-compiler) in einem (delphi-)Programm starten.
Ich weiß ich nicht ob man es überhaupt möglich ist und wie es funktioniert.

Danke im Voraus

Du wirst dich vielleicht wundern, wenn bald einige Leute ziemlich erbost auf diesen Beitrag antworten. Aber das ist eine Frage, die hier inzwischen fast täglich gestellt wird. Ist es denn wirklich so viel verlangt, einfach mal in der Forumssuche "Programm starten" einzutippen???

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
cyx
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Mi 07.11.07 00:03 
ShellExecute oder CreateProcess ein zu geben währe evtl. noch besser.
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mi 07.11.07 10:28 
user profile iconTimosch hat folgendes geschrieben:
Ist es denn wirklich so viel verlangt, einfach mal in der Forumssuche "Programm starten" einzutippen???
Ja, das ist scheint's zu viel verlangt. Diese Frage wurde wohl schon SO oft beantwortet, dass die Suche meldet:
Die Suche hat folgendes geschrieben:
Diese Anfrage ist zu umfassend!
:shock:

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 07.11.07 10:44 
Ich denke, das waren jetzt genug Hinweise auf die Suchfunktion. :mahn:
Black200607 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 50

Win XP
Pascal(Free Pascal/Lazarus), Java, Php, Python
BeitragVerfasst: Mi 07.11.07 17:09 
Danke
schaumermal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72



BeitragVerfasst: Fr 09.11.07 11:08 
oder einfach so

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
procedure Update;
var    aTSI : TStartupInfo;
       aTPI : TProcessInformation;
begin
     FillChar(aTSI, SizeOf(aTSI), #0);
     FillChar(aTPI, SizeOf(aTPI), #0);
     aTSI.CB := SizeOf(aTSI);

     CreateProcess(nil, PChar(ExtractFilePath(ParamStr(0))+'Update.Exe '),
                   nilnil, False,Normal_PRIORITY_CLASS, nilnil, aTSI, aTPI);

end;


Gruß

Kai

Moderiert von user profile iconGausi: Delphi-Tags hinzugefügt
hathor
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 09.11.07 13:58 
ausblenden Delphi-Quelltext
1:
2:
3:
1. Lerne Englisch
2. Lerne Programmieren
3. If not Englisch Goto 1.