Application hangs when run in \release directory

I have an C# wrapper application using a process to run a command line program.

When I run it the first time after a system start in the original \debug or \release directories, it hangs after Process.Start() with a memory reference error. Subsequent executions cause no problem.

When I move the program and the command line utility to another directory, it works without problem.

(Visual Studio 2005 Prof.; Windows XP Prof; all English)

Has anybody had similar experiences




Answer this question

Application hangs when run in \release directory

  • Tryin2Bgood

    I figured it out: Visual Studio 2005 creates it's working directories and gives them a 'compressed' attribute. Somehow, the Process.Start() call can't open compressed command line programs. After a delay the command line program gets uncompressed and executed. For a while then an uncompressed image stays around, so subsequent calls work.

    My "another directory" didn't have the "compressed" attribute.



  • Application hangs when run in \release directory