Archived

This topic is now archived and is closed to further replies.

denethor

run .exe function?

Recommended Posts

Guest Anonymous Poster
To start notepad you''d do "system("notepad.exe";"

Share this post


Link to post
Share on other sites
CreateProcess() or (preferably) CreateProcessEx(). system() can be used, but it''s blocking, which may or may not important for you.



"The sun is the same in a relative way,
but you''re older"
--Pink Floyd

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
blocking?


"blocks" execution of the thread (/process) it''s called from until the work it''s doing finishes. i.e. system() doesn''t return until the application being executed has ended.

Share this post


Link to post
Share on other sites