• Advertisement

Archived

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

A question....

This topic is 5645 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, i have a question to make: I have two exe''s.I want to run the first exe, and this exe run the second exe and then close itself.What two commands must i use? Also i would like to produce a single image (bmp) to the screen.How can i do this? Thanks a lot! Hell World Game/3d Engine Find it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html

Share this post


Link to post
Share on other sites
Advertisement
I base the majority of my answers off of the topic. Since the topic is ''A question...", I feel I''m among the most qualified to answer.

An answer.

Share this post


Link to post
Share on other sites
look into these functions
1)CreateProcess
2) system, exec
3)PostQuitMessage
4) exit

Share this post


Link to post
Share on other sites
The easyest way :
....
WinExec(char * );//you`re proggy,.. and this is ASYNC
PostQuitMessage(0);
return msg.wParam;//eventually...
}

Share this post


Link to post
Share on other sites

  • Advertisement