Re: Running a exe from a MFC app

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



CreateProcess
ShellExecute
ShellExecuteEx

do NOT use WinExec, which is obsolete.
joe

On 1 May 2007 13:58:40 -0700, sridevi.garimella@xxxxxxxxx wrote:

I need to run an application (.exe) from another MFC application. I
have no idea how to get this done. Any help with this is appreciated.

Thanks.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: running exeternal program
    ... the first thing you do is get rid of the WinExec call. ... clear that this is an obsolete call only supported for backward compatibility with old ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: And Steve Goldman chimes in on the MVP vote
    ... THE DUMBEST MVP VOTE IN THE HISTORY OF CIVILIZATION, ... INFAMOUS 112 CE ROMAN EASTERN CHARIOT LEAGUE VOTE AND THE 1,000,276 CE ... Not only did the writers vote for the wrong player, ... Joe Mauer, the first catcher in the history of the ...
    (alt.sports.baseball.ny-yankees)
  • Re: Read a file from network share!
    ... perhaps an issue about how the win16 emulator runs. ... I do have the command and that is under ... MVP Tips:http://www.flounder.com/mvp_tips.htm-Hidequotedtext- ...
    (microsoft.public.vc.mfc)
  • Re: MFC Goldmine site updated
    ... That is what oll of those "killfilers" say, ... while following the articles they have killfiled. ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: Conversion from UTF32 to UTF8 for review
    ... Your code converts UTF-32 to UTF-8. ... the side of reliability over speed. ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)