CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Mar 2010

    Exclamation 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.

    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.