Connecting Tech Pros Worldwide Help | Site Map

Executing exe

plmanikandan@gmail.com
Guest
 
Posts: n/a
#1: Mar 15 '06
i,

I need to execute a exe from my application and wait until the exe
close.Then my program has to process the result from exe.
I am collapsed of using the functions
1.Createprocess
2.Shellexecute.
I also need to check whether the called exe process completed or not.
My program has to wait until the called exe program completed the
task.I need the called exe to run in the background.
I am using VC++ 6.0
Please help me to solve the problem

Regards,
Mani

mlimber
Guest
 
Posts: n/a
#2: Mar 15 '06

re: Executing exe


plmanikandan@gmail.com wrote:[color=blue]
> i,
>
> I need to execute a exe from my application and wait until the exe
> close.Then my program has to process the result from exe.
> I am collapsed of using the functions
> 1.Createprocess
> 2.Shellexecute.
> I also need to check whether the called exe process completed or not.
> My program has to wait until the called exe program completed the
> task.I need the called exe to run in the background.
> I am using VC++ 6.0
> Please help me to solve the problem
>
> Regards,
> Mani[/color]

Your question is beyond the scope of the standard C++ language and
libraries. Try posting in a Microsoft-specific newsgroup (see this FAQ
for some possibilities:
http://www.parashift.com/c++-faq-lit....html#faq-5.9).

Cheers! --M

Shade37337
Guest
 
Posts: n/a
#3: Mar 16 '06

re: Executing exe


may you'll try

#include <windows.h>
and
ShellExecute(...)

for te parameters you may take a loook at MSDN
http://www.msdn.microsoft.com/
Closed Thread