Hi,
I am using Visual Studio 2013 Express on Windows 10 to develop my game. Recently, I've ran into a problem concerning Direct3D: When I start my game, it crashes as soon as it starts rendering the first frame with different error messages stating that there was an access violation reading/writing/executing at different locations. However, when I compile the game on Windows 7, it runs on both Windows 7 and 10 without this error. When I try to run the game compiled on Windows 10 on Windows 7, it crashes, too. It does not crash in Debug build, only in Release build. I once "fixed" the problem by outputting the device context using OutputDebugString(). Some changes to the code in unrelated locations seem to "cause" this error.
I already tried re-installing Visual Studio and updating my graphics driver, but that didn't help.
Can I re-install the Direct3D SDK somehow? Or is there maybe another solution?
Edit: SOLVED (see post #15)