Why cant i get directX to work!!!

Started by
7 comments, last by Zeddy 23 years, 7 months ago
i have directX 7.0 SDK and MSVC++ 6 an im trying to get it to work, but everytime i compile it i get errors... i have included ddraw.dll in the project/link thingy... AAAAAHHHHRRRRGGG
Advertisement
Need more info..
------------------------------------------------------------I wrote the best video game ever, then I woke up...
your compiler comes with DirectX 1.0
and when you include ddraw.h you r icluding DD 1.0

and sure your compiler doesn''t know what the heck
LPDIRECTDRAW7 or LPDIRECTDRAWSURFACE7 are.

so all you have to do it to get your compiler to include DD 7.0.

header files and *.libs come within the SDK.

go get ''em
your compiler comes with DirectX 1.0
and when you include ddraw.h you r icluding DD 1.0

and sure your compiler doesn''t know what the heck
LPDIRECTDRAW7 or LPDIRECTDRAWSURFACE7 are.

so all you have to do is get your compiler to include DD 7.0.

header files and *.libs come within the SDK.

go get ''em
You shouldn''t include directdraw.dll should you? Directdraw.lib is a lot better.
ya, don''t link a dll, link ddraw.lib

JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Not only that, but make sure you''re calling the right version of DirectX when you query for the object from COM. If you don''t request the latest version, then you will get errors if you try and use DirectX 7 functions with and older version.

******************************
"I do not fear computers, I fear the lack of them"

- Isaac Asimov

Drew Sikora
Napali Networks, Inc.
******************************"I do not fear computers, I fear the lack of them" - Isaac AsimovDrew SikoraNapali Networks, Inc.
make sure you include ddraw.h, and link with ddraw.lib and dxguid.lib
i think what anonymous was getting at is you may be including the wrong version of dx headers, add the directories where the ''new'' versions of headers and libs are in ''Tools|Options...Directories'' and make sure they are at the top.


crazy166
some people think i'm crazy, some people know i am

This topic is closed to new replies.

Advertisement