Jump to content

  • Log In with Google      Sign In   
  • Create Account


ddraw problems while compiling


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 mack   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 August 2001 - 05:40 PM

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.

Sponsor:

#2 jaxson   Members   -  Reputation: 127

Like
Likes
Like

Posted 08 August 2001 - 06:13 PM

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.

#3 simulator   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 August 2001 - 07:13 PM

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.

#4 mack   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 August 2001 - 03:30 AM

Thanks, I did have my paths wrong or should i say, I didn''t even include a path to my installed SDK




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS