This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
uxtheme.h error 2146 need an Identifier to declare on compile
I just installed LMD ELPACK 2012 trial into
C++ Builder 6 Enterprise ver.10.166
I get 2 errors when I compile application:
UxTheme.h(176): E2145 need an identifier to declare code:
typedef enum THEMESIZE
{
TS_MIN, // minimum size
TS_TRUE, // size without stretching
TS_DRAW, // size that theme mgr will use to draw part
};
UxTheme.h(546): E2145 need an identifier to declare
code:
typedef enum PROPERTYORIGIN
{
PO_STATE, // property was found in the state section
PO_PART, // property was found in the part section
PO_CLASS, // property was found in the class section
PO_GLOBAL, // property was found in [globals] section
PO_NOTFOUND // property was not found
};

Comments
{
TS_MIN, // minimum size
TS_TRUE, // size without stretching
TS_DRAW, // size that theme mgr will use to draw part
}
THEMESIZE ;
UxTheme.h(546): E2145 need an identifier to declare
code:
typedef enum PROPERTYORIGIN
{
PO_STATE, // property was found in the state section
PO_PART, // property was found in the part section
PO_CLASS, // property was found in the class section
PO_GLOBAL, // property was found in [globals] section
PO_NOTFOUND // property was not found
}
PROPERTYORIGIN ;