Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Exe-Datei aus anderem Ordner öffnen (https://www.delphipraxis.net/100177-exe-datei-aus-anderem-ordner-oeffnen.html)

SirThornberry 24. Sep 2007 16:21

Re: Exe-Datei aus anderem Ordner öffnen
 
ohne chdir sieht es so aus:
Delphi-Quellcode:
uses ...ShellAPI;
----------------- 
if (ShellExecute(Application.Handle,PAnsiChar('open'),PAnsiChar('FLASHPOINTRESISTANCE.EXE'),PAnsiChar('-nosplash -nomap' +isChecked),PChar(GetRegData),SW_ShowNormal)<32) then
  Mprot.Lines.Add('Error while starting game!')
else
  Mprot.Lines.Add('starting game...');


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:57 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz