No this is a question?? I recieved this reply and I am curious?? #pragma comment(lib, "d3d8.lib") #pragma comment(lib, "d3dx8.lib") #pragma comment(lib, "dxguid.lib") #include <d3d8x.h> when I add these headers can I type or paste directx code without any problems??
1. The d3dx8.h header file includes other files such as d3d.h
2. The #pragma statements tell the linker which library files to link with - they're equivilent to adding those libraries to the settings for your project.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more