|
-
June 11th, 1999, 04:43 PM
#1
Executing a program from another program??
How can I execute a known file (i.e. c:\programs\myprogram.exe) from an mfc application. I have written a software auditing program, but would like to add a feature to execute a program from a list (to more easily identify the software.) Any help would be greatly appreciated!!!!!
///////////////////////////////////////////////////////
Good things come to those who wait...
But they come used by the impatient....
///////////////////////////////////////////////////////
-
June 11th, 1999, 05:06 PM
#2
::ShellExecute
The ShellExecute API launches other applications...
::ShellExecute(m_hWnd, "open", "C:\\SomeProgram.exe", NULL, NULL, SW_SHOW);
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
|