Click here to Skip to main content
15,918,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wrote and I debugged a windows program. Rather that it run, it throws an exception with the following message:Unhadled exception at 0x00000003 in Assist School.exe: 0x0000005: Access violation.

The dialogue box gave me two options, break and continue.When I clicked break I got the following message:No symbols are loaded for any stack frame. The source code cannot be displayed.
The dialogue box once again gave me two options,Ok and dissembly.When I clicked dissemble I got a list of low level memory address.
How do I get my program to run? I use Visual Studio 2008. My OS is XP.
Posted
Comments
Manfred Rudolf Bihy 27-Dec-10 14:34pm    
Please start debugging your program from within VS 2008 and set to "Debug" instead of "Release".
Dr.Walt Fair, PE 27-Dec-10 19:28pm    
Usually that happens when something isn't initialized, but with no code or debugging hints it's impossible to say what.

Error code 3 is usually Path Not Found. So what in your code is trying to open a file or do something with a file?? Either the file doesn't exist, or it doesn't exist on the folderpath in your code.

This is just a guess because you haven't provided enough information about your code to diagnose this.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 27-Dec-10 15:19pm    
FYI: He did say "Unhadled exception at 0x00000003 in Assist School.exe: 0x0000005: Access violation.". So the error isn't 3, it is 5 "Access violation". :)
Dave Kreskowiak 27-Dec-10 15:39pm    
Feces! I knew I shouldn't be answering questions on an empty stomach!
Manfred Rudolf Bihy 27-Dec-10 16:05pm    
Ah, great! Another viable interjection I can add to my s**tload of mostly non-PC swear words! :)
Thanks Dave!
Turn on the debug options in your compiler/project configuration (use the help manual). If it crashes again you will see your code.
 
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