I Feel Like A Compiler noob Cant Compile Direct x Apps

Started by
3 comments, last by Muhammad Haggag 18 years, 8 months ago
ive installed the directx 9.0c SDK and when i make my windows app it works fine then i try adding a bit of dirext x and it wont compile ive set my directories to C:/directxSDK/include and C:/directxSDK/lib but still wont compile please help thanx.
Advertisement
Can you post the code please?

ace
Did you add the directx header files to your project? All DirectX projects need to have dxguid.h included in the project (not just in the linker directories). Other headers are needed for different DirectX components:

DirectDraw - ddraw.h
DirectInput - dinput8.h
DirectSound - dsound.h
Direct3D - d3d9.h
...

Note: I am just telling you this off the top of my head, the filenames may not be exactly correct.
I don't use C++ but I think the errors would probably be more useful.

If they are linking errors then you know if you haven't set up your folder paths correctly or they might be changes in functions if the code was for a previous revision of DirectX.
Do you get compiler or linker errors? Copy/paste your errors here.

This topic is closed to new replies.

Advertisement