1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Why CreatProcess is failing some times

Discussion in 'MFC' started by manmfc, Oct 10, 2008.

  1. manmfc

    manmfc New Member

    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
     
  2. oogabooga

    oogabooga New Member

    It sounds like your logic (not the CreateProcess call specifically),
    so you haven't given us enough information.
     

Share This Page