Skip to main content
GameDev.net gamedev.net
🔒 Locked

directx headers

Started by cellman Jan 19, 2005 at 7:06 AM 0 replies 600+ views
Original Post
cellman
cellman
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 when I add these headers can I type or paste directx code without any problems??
S1CA
S1CA
For Direct3D 8 code, yes.

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.
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.