Autor Beitrag
Opfer15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19

Windows Xp, Vista, 2k, Suse Linux 9
C#, Delphi
BeitragVerfasst: Do 01.12.05 22:42 
ausblenden Delphi-Quelltext
1:
if ShellExecute(Application.Handle,'open',PChar(ExtractFilePath(ParamStr(0))+'Application.exe'),					


Das Program ist im Hauptordner und soll nun auf den Unterordner "maps" zugreifen. was muss ich da jetzt noch hinzufügen ? Der search Button gab leider nix brauchbares
bockwurst
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 191

win98 /XP
D1 D5 Prof DE2005PE
BeitragVerfasst: Fr 02.12.05 12:18 
so sollte es doch gehen

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
Procedure ProgAufrufen;
var pProgPath:Array[0..80of Char;
begin
  StrPCopy( pProgPath, ParamStr(0)+'\UnterVerzeichnisName');
  ShellExecute(0,NIL,'ProgrammName.exe'nil, pProgPath , SW_SHOW);
end;