Книга: DirectX 8 Programming Tutorial
Include and Library files
Include and Library files
First thing's first. To use DirectInput we need to add a new include file and two library files to our project. If you don't add these to your project you'll get compiler and linker errors. I've included the new header file in Game.h just below where I have included d3dx8.h. You can add the library files by going to Project > Settings… then on the Link tab, type the new library file names into the Object/Library Modules input box. The new files are listed below:
· dinput.h
· dinput8.lib
· dxguid.lib
Похожие страницы
- DirectX Tutorial 12: Keyboard and Mouse Input
- DirectX Tutorial 13: Sounds and Music
- Buffered and Immediate Data
- DirectX Audio and DirectShow
- Sound and Music
- Разработка приложений баз данных InterBase на Borland Delphi
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- Chapter 6. Traversing of tables and chains
- Chapter 8. Saving and restoring large rule-sets
- Chapter 11. Iptables targets and jumps