I\'m using the system command in C++ to call some external program, and whenever I use it, a console window opens and closes after the command finishes.
system
Errm. CreateProcess or ShellExecute.
CreateProcess
ShellExecute