Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


CDS_FULLSCREEN and Dev-C++


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
4 replies to this topic

#1 TheRealMAN11   Members   -  Reputation: 142

Like
Likes
Like

Posted 07 August 2001 - 06:47 AM

I am working on an OpenGL project using Dev-C++ and every time I try to compile it I get the error CDS_FULLSCREEN undeclared. I am using CDS_FULLSCREEN in the function ChangeDisplaySettings(). Does anyone know why I am getting this error, or how to fix it, or the value that CDS_FULLSCREEN should have so I can just put that in there or define it my self. Matthew WebMaster www.Matt-Land.com

Sponsor:

#2 TheRealMAN11   Members   -  Reputation: 142

Like
Likes
Like

Posted 07 August 2001 - 08:58 AM

uh... can someone please help?

Matthew
WebMaster
www.Matt-Land.com

#3 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 August 2001 - 12:09 PM

You are getting this error because the definition is missing from the headers. This has been corrected in later versions of mingw so it should be in the next Dev-C++ release. The correct value is 4 so you can put this at top of your source file

#define CDS_FULLSCREEN 4

#4 TheRealMAN11   Members   -  Reputation: 142

Like
Likes
Like

Posted 07 August 2001 - 12:19 PM

Much thanks Obelix.

Matthew
WebMaster
www.Matt-Land.com

#5 mikeyrb   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 August 2001 - 04:46 PM

The headers for Dev-C++ aren''t always complete, which you''ll find out as you program more and more. The solution is to find someone with MSVC++ or download LCC-Win32 and get the needed definition from those headers.




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