When I wrote my first DirectX program, I didn't want to leave out the advantages of
MFC. So I was looking for a demo project which used both - DirectX and MFC. Finally I have
found one and I have modified it. This project is suitable for games, but not only for
them .
The project contains 3 classes:
- CBasicApp (derived from CWinApp)
- CBasicWnd (creates the main application's window - derived from CWnd)
- CGame (generic class - for the game - main code - DirectDraw, DirectInput, DirectSound)
(continued)
Download Project Files (15 KB)