Quote:
|
Originally Posted by harker I keep getting a compile error saying that a constant 'ICON_GROUP', define in 'resources.h', is not defined. This is a win32 application by the way.
Here is my resources.h file Code: #define ICON_GROUP 1002
#define ICON_LEAF 1003
#define ICON_DL 1004
#define ICON_RIP 1005
#define MY_TREE 1000
#define MAIN_WINDOW 1001 |
Could it be, that you're including your resources.h file so many times that the compiler gets confused ??
Try controling your needed includes like:
resources.h Code:
#ifndef RESOURCES__H__
#define RESOURCES__H__
#define ICON_GROUP 1002
#define ICON_LEAF 1003
#define ICON_DL 1004
#define ICON_RIP 1005
#define MY_TREE 1000
#define MAIN_WINDOW 1001
#endif
That might give a clue, since I never heard of a compiler giving that error, when the file already has been included.