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

C / C++ / MFC

 
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 
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 
Thanks all for your quick reply.

We have a MKS emulator installed on our Windows XP systems.
We have to develop an application in VC++ that will execute those MKS based exes using shell.
We use sh- Lc command to run these exes manually in shell.
we are currently doing this using _spawnl() API as below:

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

target.exe is the unix based exe.
we want to know the status of target.exe (whether properly executed or not)

_spawnl() is giving return status of target when _P_WAIT mode is on.
In that case, we need to wait till the target exe is completely executed.
And dont want to wait for that in out application. We just want to boot the target and know if that application successfully booted or not.

Is there any API/ method for doing this?

Any help is appreciated.

Thanks again!
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 
GeneralRe: Execute unix application through VC++ [modified] Pin
Rajesh R Subramanian9-May-08 5:22
professionalRajesh R Subramanian9-May-08 5:22 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:23
Rajkumar R9-May-08 5:23 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:31
professionalRajesh R Subramanian9-May-08 5:31 

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.