🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[C++ Error] imagehlp.h(600): E2015 Ambiguity between 'LONG64' and 'System::LONG64'

#16024
From: PaoloItaly
Date: Wed, 04 Jun 2003 12:06
29 lines
1682 bytes
I've created a new application with :
  File->New Application
Then i've included the header file "imagehlp.h" as below:

Unit1.cpp
//--------------------------------------------------------------------------
-
#include <vcl.h>
#pragma hdrstop
#include "main.h"
/* my include */
#include "imagehlp.h"
//--------------------------------------------------------------------------
-
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//--------------------------------------------------------------------------
-
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
I've got:
[C++ Error] imagehlp.h(600): E2015 Ambiguity between 'LONG64' and
'System::LONG64'
How i can avoid this compiler error ?

Thanks in advance
Technical Details
Message-ID: <3edde10a@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-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b43ba352f967463e,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-04 05:32:51 PST
From: "PaoloItaly" <paolo@sirius.tecnoparco.it>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: [C++ Error] imagehlp.h(600): E2015 Ambiguity between 'LONG64' and 'System::LONG64'
Date: Wed, 4 Jun 2003 14:06:14 +0200
Lines: 31
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: <3edde10a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054728458 81.112.124.34 (4 Jun 2003 05:07:38 -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