I've tried to use the code example from DirectX Tutorial.com to create a basic triangle in a DirectX win32 application.
Project built in Visual Studio, library paths fixed etc. Tried to change driver specification from HARDWARE to REFENCE, didn't solve crash issue.
Tutorial code I tried to use was: http://www.directxtu.../BA5.aspx#still
Picture of crash:
I also had to add #include <StdAfx.h> at start of project, otherwise the build would not work in Visual Studio.
Which wasn't mentioned in the code example on the tutorial place. When I add it, build goes ok, but a Error comes that says it cannot find it.
1 IntelliSense: cannot open source file "StdAfx.h" c:\users\administratör\documents\visual studio 2010\projects\directx_test\directx_test\directx_test.cpp 2 2 DirectX_Test
1>------ Build started: Project: DirectX_Test, Configuration: Debug Win32 ------
1> DirectX_Test.vcxproj -> C:\Users\Administratör\documents\visual studio 2010\Projects\DirectX_Test\Debug\DirectX_Test.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Anyone able to figure out why my application after build doesn't work?
And why I need to put that include of StdAfx.h - that Visual Studio cannot even find?
MagnarTBLMember Since 26 Apr 2012
Offline Last Active Apr 28 2012 04:46 AM
- Group Members
- Active Posts 6
- Profile Views 336
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown