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.
ShadowBranch 0 Newbie Poster
Mike29936 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.