Why CreatProcess is failing some times

Newbie Member
10Oct2008,10:08   #1
manmfc's Avatar
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
Ambitious contributor
10Oct2008,21:24   #2
oogabooga's Avatar
It sounds like your logic (not the CreateProcess call specifically),
so you haven't given us enough information.