Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help on exe generation form other exe..... Pin
CPallini9-May-08 20:44
mveCPallini9-May-08 20:44 
AnswerRe: help on exe generation form other exe..... Pin
Rajesh R Subramanian9-May-08 5:00
professionalRajesh R Subramanian9-May-08 5:00 
GeneralRe: help on exe generation form other exe..... Pin
alex7869-May-08 5:07
alex7869-May-08 5:07 
GeneralRe: help on exe generation form other exe..... Pin
Hamid_RT9-May-08 6:53
Hamid_RT9-May-08 6:53 
QuestionCurrent location Pin
capint9-May-08 4:40
capint9-May-08 4:40 
AnswerRe: Current location Pin
Rajkumar R9-May-08 4:46
Rajkumar R9-May-08 4:46 
GeneralRe: Current location Pin
capint9-May-08 4:50
capint9-May-08 4:50 
QuestionExecute unix application through VC++ Pin
Manasi D9-May-08 3:04
Manasi D9-May-08 3:04 
Hi All,

Help me out, it's very urgent.

How to Run UNIX based EXE [MKS] through Shell in VC++ application.
Intermediate Shell should not be seen (It can be hide); target application should rum through SHELL.
And Target Application status should be returned whether target application run or not.

Example:
Intermediate Shell Target Application
SHELL.exe -------------------------' Sample.exe

If any error occurs while running Target Application, return that status to application.

I am doing through _spawnl() API.

Int lnSts =_spawnl(_P_NOWAIT,"SHELL.exe","SHELL.exe","-Lc Target.EXE",NULL);


But in this case if my target application having any problem like Target EXE has Segmentation Error. _spawnl will not return Target Application Fail Error.

Is there any VC++ API, which executes any process through shell and returns its status?

Please help us. Any suggestion most welcome.

Pawan
AnswerRe: Execute unix application through VC++ Pin
JudyL_MD9-May-08 3:08
JudyL_MD9-May-08 3:08 
GeneralRe: Execute unix application through VC++ Pin
CPallini9-May-08 3:24
mveCPallini9-May-08 3:24 
GeneralRe: Execute unix application through VC++ Pin
Manasi D9-May-08 3:30
Manasi D9-May-08 3:30 
GeneralRe: Execute unix application through VC++ Pin
JudyL_MD9-May-08 3:40
JudyL_MD9-May-08 3:40 
GeneralRe: Execute unix application through VC++ Pin
Robert Surtees9-May-08 16:40
Robert Surtees9-May-08 16:40 
AnswerRe: Execute unix application through VC++ [modified] PinPopular
Rajesh R Subramanian9-May-08 3:11
professionalRajesh R Subramanian9-May-08 3:11 
GeneralRe: Execute unix application through VC++ Pin
toxcct9-May-08 3:47
toxcct9-May-08 3:47 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 3:51
professionalRajesh R Subramanian9-May-08 3:51 
GeneralRe: Execute unix application through VC++ Pin
CPallini9-May-08 4:17
mveCPallini9-May-08 4:17 
GeneralRe: Execute unix application through VC++ [modified] Pin
enhzflep9-May-08 4:14
enhzflep9-May-08 4:14 
QuestionRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 4:47
professionalRajesh R Subramanian9-May-08 4:47 
AnswerRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:16
enhzflep9-May-08 5:16 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:27
professionalRajesh R Subramanian9-May-08 5:27 
GeneralRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:36
enhzflep9-May-08 5:36 
AnswerRe: Execute unix application through VC++ Pin
toxcct9-May-08 3:11
toxcct9-May-08 3:11 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 3:13
professionalRajesh R Subramanian9-May-08 3:13 
RantRe: Execute unix application through VC++ Pin
Randor 9-May-08 5:09
professional Randor 9-May-08 5:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.