versions of Direct Draw
In Lamothe''s book tips of the windows game programming gurus when making his surfaces he goes
LPDIRECTDRAWSURFACE4 lpddsprimary4;
Well my compiler doesnt know what a LPDIRECTDRAWSURFACE4 is it only knows of LPDIRECTDRAWSURFACE Can someone tell me what the difference is and how to set my compiler up to use LPDIRECTDRAWSURFACE4;
Im using mvc++ and have it set up right as far as I know, all my direct draw programs work
LPDIRECTDRAWSURFACE4 is DirectX5 specific.. if you use LPDIRECTDRAWSURFACE instead.. it will choose whatever version it wants (that''s the impression I got from all of the books that I have read). I did not have any problems .. and some people that I have talked to in the past said it took a DirectX1 surface (I do not believe that!). But the correct way is to point your DirectX includes BEFORE the normal compiler includes.. and it should compile just fine.
Good luck,
Roy
Good luck,
Roy
The nightmare travels across the cosmos with his burning mane. The trail of ash that is produced.
?Have a nice day!?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement