🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5395

[C++ Error] uxtheme.h(176): E2146 Need an identifier to declare

#5395
From: JD
Date: Fri, 19 Aug 2005 17:23
30 lines
1766 bytes
I've included uxtheme.h into a project but it generates 2
compiler errors:

[C++ Error] uxtheme.h(176): E2146 Need an identifier to declare
[C++ Error] uxtheme.h(546): E2146 Need an identifier to declare

both of which follow a typedef enum statement:

typedef enum THEMESIZE
{
    TS_MIN,             // minimum size
    TS_TRUE,            // size without stretching
    TS_DRAW,            // size that theme mgr will use to draw part
};

and

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
};

I don't think that I should be changing the header so what do I do?

~ JD
Technical Details
Message-ID: <43061578@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fb85fd278a19acb2,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: [C++ Error] uxtheme.h(176): E2146 Need an identifier to declare
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 205.188.116.198     
X-Forwarded-For: 172.159.121.137
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43061578@newsgroups.borland.com>
Date: 19 Aug 2005 10:23:04 -0700
X-Trace: newsgroups.borland.com 1124472184 207.105.83.66 (19 Aug 2005 10:23:04 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail