Connecting Tech Pros Worldwide Help | Site Map

Executing exe

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 15th, 2006, 11:55 AM
plmanikandan@gmail.com
Guest
 
Posts: n/a
Default Executing exe

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, 12:25 PM
mlimber
Guest
 
Posts: n/a
Default 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, 04:45 AM
Shade37337
Guest
 
Posts: n/a
Default 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/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.