| | |
Problems with DirectX and VC++
![]() |
•
•
Join Date: Nov 2003
Posts: 4
Reputation:
Solved Threads: 0
I've got a problem with Microsoft VC++ 6.0 and DirectX. I made my last game using Microsoft VC++ 4.0. I had no problems. I was using DirectX 6.1 SDK and DirectDraw4 functions. Well I'm upgrading my game engine to use DirectX 8.1 SDK. I need to fix a problem that comes up with DirectDraw7. When I compile my engine using the new DirectX DirectDraw7 function, It says that IID_IDIRECTDRAW7 is undeclared. Well, I have ddraw.h included in the project and #include <ddraw.h> in the file. Why it's not finding it I don't know. It finds the DirectDraw function(s) but not the DirectDraw7 function(s). Anyone know whats wrong? I'm using DirectDrawCreateEx() function to create the DirectDraw object.
•
•
Join Date: Sep 2003
Posts: 22
Reputation:
Solved Threads: 0
Hmmm....
Well, instead of using DirectX 8.1, you should use DirectX 9.
Did you replace the ddraw.h in DirectDraw 4 with the one for DirectDraw 9?
I looked at my own DirectX game, and found this:
IID_IDirectDraw7
Seeing as how it's case sensitive(or at least that's how my compiler works), you should try uncapitalizing the middle of the words.
Well, instead of using DirectX 8.1, you should use DirectX 9.
Did you replace the ddraw.h in DirectDraw 4 with the one for DirectDraw 9?
I looked at my own DirectX game, and found this:
IID_IDirectDraw7
Seeing as how it's case sensitive(or at least that's how my compiler works), you should try uncapitalizing the middle of the words.
![]() |
Similar Threads
- Direct3D Not Available (Windows NT / 2000 / XP)
- HELP! C++ DirectX programming: Win32 application compiling problems with Platform SDK (C++)
- .exe files problems (Monitors, Displays and Video Cards)
- Nvidia driver/DirectX problem (Windows NT / 2000 / XP)
- Contribute to make an RTS game in DirectX (not tutorial) (Game Development)
- HD problems (Windows NT / 2000 / XP)
- Win ME Freeze Problems (Windows 95 / 98 / Me)
Other Threads in the Game Development Forum
- Previous Thread: converting BMPs to AVI
- Next Thread: how to use DirectX in VC++
| Thread Tools | Search this Thread |
3d advertising ai algorithm ban c++ cambridge camera censorship china competition console development engine fov fpx game gamer games gaming gauntanamo government idaho in-gameadvertisement intellectualproperty laracroft live manhunt math mathematics matrix mercenaries microsoft mmorpg msn naked news nintendo obama palin physics pirate playstation politics projection ps3 rpg search software sony stephenhawking stocks studio technology terrorism tombraider uk videogame web wii world-of-warcraft xbox xbox360





