Article View: borland.public.cppbuilder.nativeapi
Article #1481Re: Ambiguity between 'PHKEY' and 'Windows::PHKEY'
From: Steve
Date: Sat, 11 Aug 2007 20:20
Date: Sat, 11 Aug 2007 20:20
30 lines
1810 bytes
1810 bytes
"Michael Gillen" <michael@gillenconsultinggroup-nospam.com> ha scritto nel messaggio news:46be054a$1@newsgroups.borland.com... > > C++ Builder 2007 > > I'm getting this error. > > [BCC32 Error] cfgmgr32.h(2548): E2015 Ambiguity between 'PHKEY' and > 'Windows::PHKEY' > I do not have C++ Builder 2007 installed, but I've same error (for other include file) many times in the past with Builder 6. BEFORE do this, do a copy of "cfgmgr32.h" so you take an original version. Then in the file cfgmgr.h try to put "::" (without quote) in front of the declaration of PHKEY, something like this: ::PHKEY Try to complile and if the same problem is show in another line ... do the same thing ... until all is ok. I'm sure there's other most elegant way to solve, but this normally works, and don't produce any strange effect. Bye, Steve
Technical Details
Message-ID:
<46be1a3b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46be054a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2ac55699f13bd59 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Steve" <sdardari_NOSPAM_@rimini.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <46be054a$1@newsgroups.borland.com> Subject: Re: Ambiguity between 'PHKEY' and 'Windows::PHKEY' Date: Sat, 11 Aug 2007 22:20:58 +0200 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 NNTP-Posting-Host: 80.181.246.175 Message-ID: <46be1a3b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1186863675 80.181.246.175 (11 Aug 2007 13:21:15 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail