GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-Sep-2005, 12:30
Szabadember Szabadember is offline
New Member
 
Join Date: Jul 2005
Posts: 16
Szabadember is on a distinguished road
Red face

BITMAPV5HEADER not defined in Wingdi.h !!!


I'm using the most recent version of Dev-cpp, and i found that BITMAPV5HEADER is not defined in my WINGDI.h .

Why? What to do now?

It is defined in the Wingdi.h of Visual c++ 6.00 but not in the Wingdi.h of DEV-CPP or MingW Developer Studio

  #2  
Old 01-Sep-2005, 13:51
Dr. Evil Dr. Evil is offline
Member
 
Join Date: Oct 2004
Location: Netherlands
Posts: 120
Dr. Evil will become famous soon enough
I'm afraid I don't know why Dev-C++ dosn't define the struct for you, but in regard to solving it, why don't you borrow the definition off MSDN?
http://msdn.microsoft.com/library/de...tmaps_7c36.asp
  #3  
Old 01-Sep-2005, 13:55
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,243
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by Szabadember
I'm using the most recent version of Dev-cpp, and i found that BITMAPV5HEADER is not defined in my WINGDI.h .

Why?
because WINGDI.h is not a standard header and there is no requirement that different compilers define the same stuff in non-standard headers.

Quote:
Originally Posted by Szabadember
What to do now?

It is defined in the Wingdi.h of Visual c++ 6.00 but not in the Wingdi.h of DEV-CPP or MingW Developer Studio
Use VC++6 because the code was probably written with the extensions only VC has. DevC either:
1) has a different way to accomplish the same task
2) or it cannot accomplish the task because it wasn't designed into the compiler


Quote:
Originally Posted by Dr. Evil
I'm afraid I don't know why Dev-C++ dosn't define the struct for you, but in regard to solving it, why don't you borrow the definition off MSDN?
What good would this do without the supporting code library?
__________________

Age is unimportant -- except in cheese
  #4  
Old 02-Sep-2005, 00:13
Szabadember Szabadember is offline
New Member
 
Join Date: Jul 2005
Posts: 16
Szabadember is on a distinguished road
is BITMAPV5HEADER important? I used instead BITMAPV4HEADER. I think it is rarely used by developers using Dev-cpp
  #5  
Old 02-Sep-2005, 04:06
Dr. Evil Dr. Evil is offline
Member
 
Join Date: Oct 2004
Location: Netherlands
Posts: 120
Dr. Evil will become famous soon enough
Quote:
What good would this do without the supporting code library?
Well, considering that firstly BITMAPV5HEADER is simply an extension of the structs BITMAPV4HEADER and BITMAPINFOHEADER, and the fact that the same functions use any of those depending upon which Windows version the program is running on, I'd say that the actual libraries aren't a big problem. Even if he didn't have the Win32 GDI static library, he could dynamically link his application to gdi32.dll.
 
 

Recent GIDBlogObservations of Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LNK2005 Error: Already defined in... TekiFreek C++ Forum 11 05-Dec-2007 20:47
User defined data types Kareem1984 C Programming Language 1 06-Oct-2004 18:26
Get value for variable name defined as string mirizar C Programming Language 3 21-Jun-2004 17:36
link error? pablowablo C++ Forum 14 19-Jun-2004 10:00

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:25.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.