Hello,
i was wondering if anyone could help me out. I need to make my program open a .exe file, thats it. For example: You double click on my program and it pops up, then u type "g" press enter and up pops internet explorer.
thx much for any help.
This is a discussion on Opening .exe within the C++ Programming forums, part of the General Programming Boards category; Hello, i was wondering if anyone could help me out. I need to make my program open a .exe file, ...
Hello,
i was wondering if anyone could help me out. I need to make my program open a .exe file, thats it. For example: You double click on my program and it pops up, then u type "g" press enter and up pops internet explorer.
thx much for any help.
check out the Faq
Woop?
One solution is ShellExecute(). Another solution is CreateProcess().
Kuphryn
system() anyone?
WinExec(...)
e.g.:
Code:::WinExec("calc.exe",SW_NORMAL);