Oct 13, 2000 #1 chameleon Programmer Sep 27, 2000 5 ZA Hi I would like to know how to execute windows apps under visual c++ in code _exec I can't get to work Please help. Andrew [sig][/sig]
Hi I would like to know how to execute windows apps under visual c++ in code _exec I can't get to work Please help. Andrew [sig][/sig]
Oct 13, 2000 #2 palbano Programmer Oct 9, 1998 4,341 US Dear Andrew, if ( -1 == _execl("c:\\winnt\\notepad.exe", "c:\\winnt\\notepad.exe", "c:\\winzip.log","",NULL)) cout << "error number: " << errno << endl; That should work for you. -pete [sig][/sig] Upvote 0 Downvote
Dear Andrew, if ( -1 == _execl("c:\\winnt\\notepad.exe", "c:\\winnt\\notepad.exe", "c:\\winzip.log","",NULL)) cout << "error number: " << errno << endl; That should work for you. -pete [sig][/sig]
Oct 16, 2000 #3 Guest_imported New member Jan 1, 1970 0 Andrew, You may already know this and have a reason to use _execl() but you can use ShellExecute(). Check MSDN for more info. Brother C Upvote 0 Downvote
Andrew, You may already know this and have a reason to use _execl() but you can use ShellExecute(). Check MSDN for more info. Brother C