How to launch an external application on BN_CLICKED?

Posted by Alienexist on Stack Overflow See other posts from Stack Overflow or by Alienexist
Published on 2009-10-05T01:58:50Z Indexed on 2010/06/06 5:22 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

I'm fairly new to Windows programming. I'm doing a simple launcher app for WinCE using VC++ (not MFC). So far I've created the basic interface and buttons and stuff. I just wanted to know the best way to launch an external application when the user clicks the button (on BN_CLICKED).

I found some methods such as ShellExecute, CreateProcess and others. But I couldn't get it to work (yet?). Any suitable reference or simple example on this?

© Stack Overflow or respective owner

Related posts about c++

Related posts about winapi