A question....
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
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
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.
An answer.
look into these functions
1)CreateProcess
2) system, exec
3)PostQuitMessage
4) exit
1)CreateProcess
2) system, exec
3)PostQuitMessage
4) exit
Thanks for the help!
Hell World Game/3d Engine
Find it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
Hell World Game/3d Engine
Find it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
The easyest way :
....
WinExec(char * );//you`re proggy,.. and this is ASYNC
PostQuitMessage(0);
return msg.wParam;//eventually...
}
....
WinExec(char * );//you`re proggy,.. and this is ASYNC
PostQuitMessage(0);
return msg.wParam;//eventually...
}
Relative Games - My apps
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement