C++.NET

Moderators: Lundin
Number of threads: 99
Number of posts: 163

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
problem with the exe created during release mode Posted by angelsherin on 7 Jul 2008 at 1:46 AM
Hi friends,
I am working with vc++.Net...In my project i have to spawn an exe application(Say Ex:Notepad)...I used create process to spawn the Notepad application...Also i have one ini file which is used in my Project and an external dll created using C# code...In my project If i cant spawn the Notepad application due to any situation then i ll display a messsage "Cannot spawn the Child process".. My problem is : i have to create exe for this project in release mode...If i select "Release mode" from the IDE and run the application it works perfectly [After doing some changes in settings 1.Project Menu--->Property pages---> C/C++ --->General---> Debug Information Format , in changed to Program Database
2.)Property pages---> C/C++ ---Optimization---Optimization, i select disabled.]
after i did this changes application runs successfully and spawn the notepad application...

After running this i go to the release folder and try to run the exe file created there [by double clicking]...But i got the message "Cannot spawn the Child process".."Why??? Any known friends Help me...Thanks in advance...



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.