Original Post
Actually, I suck, and I''m blaming it on my compiler. Anyway, is there any reason why Dev-C++ shouldn''t recognize the LPDIRECTDRAW4 or DDSURFACEDESC2 datatypes, assuming that I included all proper header files and lib files?
I mean, the rest of the program works fine. No other compiler errors except for those two. I have the DirectX 8 for Dev-C++ packaged installed correctly. I know that I have the right DDraw object, because I followed the procedure for obtaining a DDraw4 object perfectly, and got no compiler errors on it.
In fact, I even took LaMothe''s own code for a DirectDraw demo, and I still get two compiler errors, one on this line:
LPDIRECTDRAW4 lpdd4;
and another on this line:
DDSURFACEDESCR2 ddsd;
If I remove the ''4'' and the ''2'' at the end of each data type on these two lines, it compiles perfectly, but the program doesn''t run correctly (which may be a different problem entirely). What am I doing wrong?