Run a EXE-file from a CDlg app.

How do I run an EXE file like Notepad from an CDlg App, I would like the code. Thanx....
LVL 1
joakimfAsked:
Who is Participating?
 
BridgeConnect With a Mentor Commented:
quick and simple;
             system( "notepad" );

for a more elegent solution look for _exec
0
 
joakimfAuthor Commented:
Thank you...
0
 
NorbertCommented:
Bridge has a simple solution but
ShellExecute or ShellExecuteEx will also work and
your dialog app has not to wait until the system call returns
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.