I have a application(App2) I want to call from inside another, but I also want it to read a custom file I wrote inside app1.
(BIG PICTURE, I WANT TO CALL APP2 FROM APP1 AND FEED IT INFORMATION APP1 MADE FOR IT, IT DOESN'T HAVE TO READ A FILE IF THERE IS A BETTER OPTION, A FILE IS ALL I CAN THINK OF THAT WILL WORK)
// TODO: Add your command handler code here
CString astr, bstr;
astr="C:\\Microsoft Visual Studio\\MyProjects\\Vte\\Debug\\Vte.exe";
// bstr="C:\\Microsoft Visual Studio\\MyProjects\\App1\\temp.txt"; ****Didn't like this at all
This calls up app2 but it doesn't load the file, or I don't know of any other way to give app2 the infromation it needs to populate its dialogs.....