I've been reading the tutorials for DirectX 11 at http://www.directxtutorial.com/Lesson.aspx?lessonid=11-4-5. I've run the code after every lesson, but it didn't work for lesson 5. The error looks like this:
Unhandled exception at 0x03c72e1e in DX11Test.exe: 0xC0000005: Access violation reading location 0x00000358.
it stops at the line:
devcon->Draw(3, 0);
the code is at the bottom of the page in the link.
I use Microsoft Visual C++ 2010 Express.