Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, all,

I wrote an app by c++ 6.0
but the function createprocess doesn's work after I set up from setup package but work in release folder.

Does anybody has any idea?

Thanks in advance!

rosone
Posted
Comments
ShilpiP 16-May-11 1:57am    
Share code and try to elaborate your problem.
Sandeep Mewara 16-May-11 2:48am    
Elaborate more.

Without seeing a bit of code and trying to understand your problem...

Could it be that you have a hardcoded path?

Try to add more information in your question and paste some code...
 
Share this answer
 
There may be several of reasons why your application's CreateProcess fails. For instance, as Joan Murt correctly pointed out, you may have a hardcoded (relative) path assuming the Release folder as current directory. Anyway, when Windows API functions fail, you can usually collect useful info calling GetLastError.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900