Autor Beitrag
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: Do 17.02.05 16:03 
Das Kompatibilitätsproblem mit WinExec gibt es nicht. Das wird seit Jahren erzählt. Ich habe ein Programm, wo ich das benutze (ich war zu faul das umzustellen). Das läuft seit ca. 6 Jahren. Alle aktuellen Windoof-Versionen haben kein Problem damit.
In meinen neueren Programmen benutze ich allerdings ShellExecute.

@is_egal:
Jetzt zeig doch mal die Stelle, wo es nicht funktioniert.
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 17.02.05 16:59 
jasocul hat folgendes geschrieben:
@is_egal:
Jetzt zeig doch mal die Stelle, wo es nicht funktioniert.

:rofl: Das is der andere!! Der hier heißt "Hack Gott"... :lol:

PS.: Nich böse gemeint, Hack Gott...

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Do 17.02.05 19:07 
jasocul hat folgendes geschrieben:
Das Kompatibilitätsproblem mit WinExec gibt es nicht.

Ich würde sagen _noch_ nicht.. WinExec wird eben aus Kompatibilitätsgründen noch mitgeschleift, aber es wird vermutlich irgendwann einen Punkt geben, an dem die Rückwärtsompatibilität zu 16-Bit Win3.1-Programmen aufgegeben, und WinExec von der Liste gestrichen wird...

Ok, wenn man alte Sachen nicht unbedingt umschreiben will versteh ich es (obwohl sich der Aufwand wohl in Grenzen hält), aber wo ist denn das Problem bei neuen Projekten ShellExecute zu verwenden?

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 17.02.05 20:17 
..um den Gedanken von Motzi weiter zu denken.... oder Personen, die WinExec und ShellExecute nicht kennen, den "moderneren" Befehl zu sagen, als dann wieder mit der alten Kiste zu kommen...
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 17.02.05 20:20 
Es gibt auch ExecuteFile... :rofl:

Ist das noch aktuell?? :gruebel:

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Fr 18.02.05 18:40 
Titel: ExecuteFile
Wofür ist denn das dann um Dateien zu starten?
TimonWorld
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Sa 19.02.05 20:37 
ich glaub ShellExec startet eine Datei oder Programm wies in der Registry steht und WinExec führt einfach aus...

Denn Windows startet glaub' ich BAT- und EXE-Dateien mit WinExec... oder wie führt windows die dateien mit der endung .bat oder .exe aus???