Article View: borland.public.cppbuilder.nativeapi
Article #16029Re: [C++ Error] imagehlp.h(600): E2015 Ambiguity between 'LONG64' and 'System::LONG64'
From: PaoloItaly
Date: Wed, 04 Jun 2003 13:28
Date: Wed, 04 Jun 2003 13:28
19 lines
1986 bytes
1986 bytes
http://groups.google.com/groups?q=System::LONG64&hl=it&lr=&ie=UTF-8&oe=UTF-8
&selm=38fc31ec.357198133%40newsgroups.borland.com&rnum=1
Edit Imagehlp.h and change all LONG64 to ::LONG64. This should solve the
problem. It is because both Microsoft and Borland have declared types of
LONG64 but luckily Borland have put theirs' in the 'System' namespace. You
could use System::LONG64 but as it is a Microsoft header then it is better
to use the Microsoft version so declare them as ::LONG64's
Russell
=================================================================
Mail: Russell Hind #####
The Technology Partnership PLC #####
Melbourn, Royston, Herts. #####
SG8 6EE. United Kingdom #####
Tel: +44 (1763) 262 626 #####
Fax: +44 (1763) 261 582 The Technology Partnership
e-mail: russell.hind@techprt.co.uk
=================================================================
Technical Details
Message-ID:
<3eddf590$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3edde10a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b43ba352f967463e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-04 06:38:56 PST From: "PaoloItaly" <paolo@sirius.tecnoparco.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <3edde10a@newsgroups.borland.com> Subject: Re: [C++ Error] imagehlp.h(600): E2015 Ambiguity between 'LONG64' and 'System::LONG64' Date: Wed, 4 Jun 2003 15:28:06 +0200 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 81.112.124.34 Message-ID: <3eddf590$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054733712 81.112.124.34 (4 Jun 2003 06:35:12 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail