News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Missing define in winbase.h

Started by Anonymous, April 16, 2005, 08:41:43 AM

Previous topic - Next topic

Anonymous

Hi Pelle,
Your version of winbase.h is missing the #define for INVALID_FILE_ATTRIBUTES.  It should be at about line 35...

#define INVALID_HANDLE_VALUE  ((HANDLE)-1)
#define INVALID_FILE_SIZE  ((DWORD)0xFFFFFFFF)
#define INVALID_SET_FILE_POINTER  ((DWORD)-1)
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)    <-- need to add this
#define FILE_BEGIN  0
#define FILE_CURRENT  1

Pelle

Thanks for the info - I will add the missing definition.

Pelle
/Pelle

Anonymous

Quote from: "Pelle"Thanks for the info - I will add the missing definition.
Pelle

You're welcome... and thank you  :)