Original Post
I get this error now that I''ve converted all the LPDIRECTDRAW''s to LPDIRECTDRAW7''s. But now its complaining saying that it wants a LPDIRECTDRAW pointer and not a 7 one? I''ve put the DirectX 7 include and lib files in every include and lib file of my compiler. The directorory of the headers and libraries is at top (the dx ones) and I''m almost sure I''m using 7 because in ddraw.h I see this:
typedef struct IDirectDraw7 FAR *LPDIRECTDRAW7;
also in the readme:
Microsoft(R) DirectX(R) 7 Software Development Kit
// error and line it points to below ----\/
error C2664: ''DirectDrawCreate'' : cannot convert parameter 2 from ''struct IDirectDraw7 ** '' to ''struct IDirectDraw ** ''
if(DirectDrawCreate(NULL,&lpdd,NULL) != DD_OK)
What could be causing this?
Thanks,
Viri-