Книга: 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

Оглавление книги


Генерация: 1.430. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз