Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Why CreatProcess is failing some times (http://www.go4expert.com/forums/creatprocess-failing-times-t14472/)

manmfc 10Oct2008 10:08

Why CreatProcess is failing some times
 
Hi,
I have an MFC application running. When end user clicks on a button it should launch another application (.exe). I have used CreateProcess to do that with environment settings also. I tried with _spawnlp() and spawn versions also. But it is launching some times and it is failing some times. What could be the problem. Help me out

oogabooga 10Oct2008 21:24

Re: Why CreatProcess is failing some times
 
It sounds like your logic (not the CreateProcess call specifically),
so you haven't given us enough information.


All times are GMT +5.5. The time now is 11:43.