Mastodon
Programmierung

Running EXE file from within own Application

> How can i run an exe File inside code Delphi?
> What is the commen or method or object to run an EXE File?

[code lang=”delphi”]uses ShellApi;

ShellExecute(Self.Handle,
‘open’,
PChar(‘notepad.exe’),
nil, {this can be a parameter, such as filename}
nil,
SW_SHOWNORMAL);
[/code]

[tags]Delphi, API[/tags]

0 Kommentare zu “Running EXE file from within own Application

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.