Good day everyone! Began to learn development using DirectX on the book. The book is quite old and the examples used in it are written in DirectX 7 version if I'm not mistaken. So, I cannot run these examples. The screen is littered with all sorts of errors. I have installed DX 12. And I am interested in a few questions.

  1. Is there DX backward compatibility?
  2. If there is no compatibility, then I need to install 7 DX for the examples to work. Is it possible to install 2 versions of DX on one pc ??
  • one
    DirectX 7 can be interesting except to fans of picking up ancient games, so you can safely throw out a book. Only DX 11 / DX 12 makes sense to study. Directx versions 9 - 12 are already included in the Windows SDK that comes with VS - VTT
  • @VTT I don’t like to pick old games, but I haven’t found anything new in this direction. And start to learn from what you need. Can you recommend a decent literature on the game on the DX 12 ?? I would love to read it. - alexsis20102
  • You can start with DirectX 11 Rastertek Tutorials . Preconditions include proficiency in C / C ++, familiarity with COM technology, knowledge of linear algebra. - VTT
  • @VTT Thanks for the link any information will be useful. Be sure to check with her. Well, what about my two questions, what can you say? - alexsis20102 4:41 pm
  • What kind of questions? There is no backward compatibility (more precisely, there is no compatibility between interfaces, but there is a partial between shaders). On Windows, all versions are usually present at once from 7 - 8 - VTT

1 answer 1

Generally. After long tinkering, I found the answer to my question. The thing is that book examples use the ddraw library in the latest version of the DirectX SDK. This library does not exist. That's why my example is not compiled. And because of this, such questions arose. Thanks to everyone who responded.