can someone direct me to the function which allows me to execute another program from withinh my application.
Is it ShellExecute?
Thank you
Printable View
can someone direct me to the function which allows me to execute another program from withinh my application.
Is it ShellExecute?
Thank you
Should be WinExec
ShellExecute
ShellExecuteEx
CreateProcess
all execute applications. It all depends on what you want to do and how much control you want over the application you want to start
Hope this is of some help
A
No, don't use WinExec.
From the Win32 SDK documentation
"Win32-based applications should use the CreateProcess function rather than this function. The WinExec function exists in Win32 to provide compatibility with earlier versions of Windows."
A
::System() could be more simple than CreateProcess for small needs.
It's ANSI moreover.