|
-
March 10th, 2005, 12:15 AM
#1
How to open another program
I need a way to specify a path to a *.exe file and tell windows to execute that program.
-
March 10th, 2005, 12:31 AM
#2
Re: How to open another program
Try to Use ShellExecute or ShellExecuteEx or WinExec functions to execute another application from ur code.
A Person who is polite is given goodness and a person who is away from Politeness is away from Goodness.
NAUMAAN
-
March 10th, 2005, 03:18 AM
#3
Re: How to open another program
 Originally Posted by MrDoomMaster
I need a way to specify a path to a *.exe file and tell windows to execute that program.
What you mean by specifying a path to a*.exe? For launching the application, as already mentioned, you can use ShellExecute or CreateProcess. For details, have a look at Processes: How can I start a process?
Furthermore, note that WinExec() is provided only for compatibility with 16-bit Windows and should not be used any longer.
-
March 10th, 2005, 05:10 PM
#4
Re: How to open another program
Thanks guys, I found out about CreateProcess and I used that. It works perfectly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|