WhyNotNow wrote:Hi people,
I was hoping someone would give me some direction in this matter.I am currently trying to figure out how to make a program i have written execute or communicate with other programs.
WhyNotNow wrote:Well thank you for your first link, but to clarify a bit more. I have written a program, now i would like that program to launch another upon opening or until specify command is issued. Just some direction would be of great help.
WhyNotNow wrote:OK great. The language im using is C++ and yes it is windows. Thank You for your cont. help.
using namespace std;
cin >> foo;
if(foo == "yourStringHur")
ShellExecute( NULL, "open", "ApplicationName.exe","Parameters", "Path/to/work/directory/", SW_SHOW);
Users browsing this forum: No registered users and 0 guests