user198725878
user198725878

Reputation: 6386

Launch application

I want to launch an application using win32 ...

Please let me know your ideas to achieve this

Upvotes: 0

Views: 301

Answers (3)

Anders
Anders

Reputation: 101626

Your best option is ShellExecute (It can launch any filetype and will handle elevation) If you need more control of the new process, use CreateProcess

Upvotes: 2

Jerry Coffin
Jerry Coffin

Reputation: 490108

In (approximately) ascending order of control and complexity: WinExec, ShellExecute, ShellExecuteEx, CreateProcess.

Upvotes: 3

Dean Harding
Dean Harding

Reputation: 72658

You need to call CreateProcess.

Upvotes: 0

Related Questions