March 17th, 2010, 03:42 PM
Unhandled Exception error with DirectX Program
I'm trying to create a simple Direct X Application that displays a wireframe sphere. When I try to compile and run, I get the following error in a pop-up window:
Unhandled exception at 0x00d71bae in KatieHanlonWeek3Lab.exe: 0xC0000005: Access violation reading location 0x00000000.
I have no idea what it's about. I am doing this for a class assignment and we were given pieces of code to insert. The only error I can think of is me pasting them in the wrong place. The code in it's entirety is attached to this post in "Winmain.cpp". I have specified in the comments which pieces of code were pasted from the assignment.
If anyone could help me out, that would be great. Thanks in advance.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!