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 Problem mit ShellExecute (https://www.delphipraxis.net/55640-problem-mit-shellexecute.html)

ManuMF 26. Okt 2005 12:28

Re: Problem mit ShellExecute
 
So, ich hab's jetzt hingekriegt. Pfad wird aus der Registry gelesen, aber alles hinter ".exe" wird abgehackt:
Delphi-Quellcode:
MClientPfad := DelStr(MClientBefehl, Pos('.exe', LowerCase(MClientBefehl)) + 4, Length(MClientBefehl));
DelStr = Delete als Funktion.

Gruß,
ManuMF

LoRd-MuldeR 26. Okt 2005 14:59

Re: Problem mit ShellExecute
 
Okay.

Du solltest aber noch bedenken, dass Programmdateien keinesfalls immer eine ".exe" Datei-Endung bestitzen müssen, auch wenn das in 99,9% der Fälle so sein wird.


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

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