starting a project in directx
This article will give you an understanding of how to set up a maintainable project in Visual Studio for DirectX.
Firstly, you need to install the DirectX SDK and Visual Studio. I will assume you have done that. After that you will need to create an empty Windows c++ project. This will contain alot of useless things, so delete the <your solution name here>.cpp and .h files.
The files you will need to create next are:
- main.cpp
- This file will hold the main() function that is the entry point to your application.
- main.h
- This header just includes the recourses that we use.
- AppProc.cpp
- This will hold the implementation of our AppProc class
- AppProc.h
- This is the header for our class

Please Wait...