Archived

This topic is now archived and is closed to further replies.

ddraw problems while compiling

This topic is 5975 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Why is it that when i do this LPDIRECTDRAW7 lpdd7 = NULL; I get a missing ; error but when I take out the 7''s like this LPDIRECTDRAW lpdd = NULL; I get no errors. same goes for DDSCAPS2 ddscaps; when I remove the 2 behind DDSCAPS it compiles fine.

Share this post


Link to post
Share on other sites
Look under "Getting Started with DirectX" (I think the subheading you want is "Compiling DirectX Programs") in the DirectX help. You need to set up your include and library paths, as well as adding the DirectX libs to your project.

Share this post


Link to post
Share on other sites
Hi- It looks to me like you are set up to run an older version of DirectX- the 7 is for directx 7.0 and won''t compile for previous versions- I know this becuase Im using Directx 3.0 and have come across this before.

Share this post


Link to post
Share on other sites