Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.270 Beiträge
 
Delphi 12 Athens
 
#6

Re: Erstanwendung nach Start der Zweitanwendung schließen

  Alt 27. Okt 2005, 03:59
Also, das Windows SDK meint dazu
Zitat von Win32 SDK:
This function is provided for compatibility with earlier versions of Windows. For Win32-based applications, use the CreateProcess function.

Win32-based applications should use the CreateProcess function rather than this function. The WinExec function exists in Win32 to provide compatibility with earlier versions of Windows. For more information about how the WinExec function is implemented, see the Remarks section of the LoadModule function.
Und bei ShellExecute steht allerdings nicht, daß man für Anwendungen CreateProcess verwenden soll ^^

CreateProcess lät nur Anwendungen und ShellExecute alle Dateien.

Im Endefekt bleibt es wohl dir überlassen was du verwendest ... nur halt kein WinExec mehr
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat