Connecting Tech Pros Worldwide Help | Site Map

Executing exe

  #1  
Old March 15th, 2006, 12:55 PM
plmanikandan@gmail.com
Guest
 
Posts: n/a
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

  #2  
Old March 15th, 2006, 01:25 PM
mlimber
Guest
 
Posts: n/a

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

  #3  
Old March 16th, 2006, 05:45 AM
Shade37337
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
probelm in executing exe from web app Yoshitha answers 0 November 19th, 2005 05:25 PM
How to disable DOS window from appearing when executing exe created using CodeDom?? new1s.on.sympatico.ca answers 1 November 15th, 2005 08:17 AM
problem while executing exe from web app Yoshitha answers 1 August 10th, 2005 09:15 AM
Executing .EXE Dave Karmens answers 6 July 19th, 2005 12:04 PM
Problem in executing Exe from Visual Basic. Ratnakar Pedagani answers 2 July 17th, 2005 10:11 PM