3
\$\begingroup\$

I have DirectX11 on Windows 7, and I also have VS13 Express for Desktop. In some tutorials I have seen that there's an option on VS13 for new project on DirectX, but doesn't appear in my VS13. Is it because I have the for Desktop version instead of the for Windows one? Or do I need to install some DirectX developmentkit first? Thanks.

\$\endgroup\$
  • \$\begingroup\$ This is pretty vague. Can you link to one of these tutorials so we can see what it says specifically? \$\endgroup\$ – Nathan Reed Jun 1 '14 at 22:28
  • \$\begingroup\$ The "DirectX" project templates are for Windows Store Apps / Windows Phone Apps. So I assume it has to do with the version of VS Express you are using (Desktop). However, you don't need anything special as you should just need to create a Win32 Application and include the DX11 headers in your code. \$\endgroup\$ – Inisheer Jun 1 '14 at 22:33
  • \$\begingroup\$ Thanks man. I ran this basic testing program on Win32 application with DX11 headers and ran perfectly. \$\endgroup\$ – BeeKnee Jun 1 '14 at 23:04
  • \$\begingroup\$ @Inisheer You should post this as an answer. \$\endgroup\$ – Philipp Jun 2 '14 at 9:31
8
\$\begingroup\$

The "DirectX" project templates are for Windows Store Apps / Windows Phone Apps. So I assume it has to do with the version of VS Express you are using (Desktop).

However, you don't need anything special to write traditional desktop apps. You just need to create a Win32 Application and include the DX11 headers in your code

| improve this answer | |
\$\endgroup\$
5
\$\begingroup\$

There are no "DirectX" project templates for Win32 desktop applications. You just create a Win32 application and then use Direct3D 11.

If you'd like a Direct3D 11 tutorial for Win32 desktop, I have one on MSDN Code Gallery.

UPDATE Alternatively, you can install this extension if you move to the VS 2013 Community edition (or VS 2013 Pro+) Direct3D Win32 Game Visual Studio template which is also on GitHub

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.