Game Development Community

Launching Programs Through Code

by Quentin Headen · in Torque Game Engine · 07/28/2008 (12:56 am) · 2 replies

Hello everyone! I would like to know, what would I have to do to allow Torque to launch external software through code? My guess is that I would have to make a change to the game engine. So what should I do? For example, how can I launch something like notepad from TGE? Please let me know.

Thanks

P.S. What I really want to do is be able to launch TeamSpeak through code with TGE.

About the author

Just your average teenage programmer who tries to finish the projects he starts. :) I am currently focused on creating games with Torque engines. My website is http://phaseshiftsoftware.com


#1
07/28/2008 (5:08 am)
You will need to make an engine modification, look at the Platform:: namespace, and google CreateProcess.
#2
07/28/2008 (6:25 am)
Have a look at here for the Windows part : www.garagegames.com/mg/forums/result.thread.php?qt=20580

Nicolas Buquet
www.buquet-net.com/cv/