Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 2nd, 2012, 12:01 PM   #1
irelia
Newbie
 
Join Date: Jun 2011
Posts: 10
Rep Power: 0 irelia is on a distinguished road
problem while producing .exe file in visual studio 2010

The errors start occuring when im making the .exe in visual studio 2010. while debugging the program no errors occur but the moment i try to make the .exe file these appear :

Unhandled exception : 0xC0000005: Access violation reading location 0x010f7330.

how can they not show while debugging and just in the .exe procedure?
irelia is offline   Reply With Quote
Old Jul 2nd, 2012, 12:14 PM   #2
sixstringartist
Programming Guru

 
Join Date: Jun 2005
Posts: 1,333
Rep Power: 14 sixstringartist will become famous soon enough
Re: problem while producing .exe file in visual studio 2010

what do you mean "make the .exe"? When you debug the program you are running a debugger on the .exe. Are you saying the segfault only occurs when in Release configuration? You can try a different debugger on it if you can't reproduce the error from within VS.
sixstringartist is offline   Reply With Quote
Old Jul 2nd, 2012, 12:20 PM   #3
irelia
Newbie
 
Join Date: Jun 2011
Posts: 10
Rep Power: 0 irelia is on a distinguished road
Re: problem while producing .exe file in visual studio 2010

yes it only happens when im in the "release".

how can debug configuration make it work properly though ?
irelia is offline   Reply With Quote
Old Jul 2nd, 2012, 12:25 PM   #4
sixstringartist
Programming Guru

 
Join Date: Jun 2005
Posts: 1,333
Rep Power: 14 sixstringartist will become famous soon enough
Re: problem while producing .exe file in visual studio 2010

Check the compiler flags to see whats different between release and debug build. Also try running the debug version manually from the command line (outside of VS2010) and see if it still works as expected.
sixstringartist is offline   Reply With Quote
Old Jul 2nd, 2012, 12:28 PM   #5
irelia
Newbie
 
Join Date: Jun 2011
Posts: 10
Rep Power: 0 irelia is on a distinguished road
Re: problem while producing .exe file in visual studio 2010

ummm how do i do that ?
irelia is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Something wrong with VS 2010? PaCkEtPiRaTe C++ 3 Jan 24th, 2012 6:09 PM
Beginner Struggling to use Visual Studio 2010 trying to learn C++ La_Wilko C++ 18 Aug 14th, 2009 2:15 PM
Running .exe file in another system annalakshmi Visual Basic .NET 1 Apr 7th, 2009 4:56 AM
Visual Studio 2005 problem Klarre C++ 3 Jan 25th, 2006 3:24 PM
executing a file using visual C++ <Solved> mhaghaed C++ 3 Jun 1st, 2005 9:53 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:55 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC