🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help... Big Problem mapi.h

#5907
From: Mike Collins
Date: Fri, 24 Jun 2005 12:22
47 lines
2726 bytes
Thanks for the quick turn around, extended error information is as follows:

[C++ Error] mapi.h(30): E2141 Declaration syntax error
  Full parser context
    MAPlanner.cpp(4): #include Main\Main.h
    Main.h(9): #include TSystemTools\TSystemTools.h
    TSystemTools.h(6): #include c:\program 
files\borland\cbuilder6\include\vcl\MAPI.hpp
    MAPI.hpp(18): #include c:\program files\borland\cbuilder6\include\mapi.h

[C++ Error] TSystemTools.h(86): E2293 ) expected
  Full parser context
    MAPlanner.cpp(4): #include Main\Main.h
    Main.h(9): #include TSystemTools\TSystemTools.h
    TSystemTools.h(36): class TSystemTools

Second set of error messages (E2293) I think is just a knock on effect of 
the first.  As for the first one, (E2141) there doesn't seem to be any 
problems.  For speed of compliation, I've #included my Main.h before the 
#pragma hdrstop.  All was fine last night - hadn't done anything today other 
than try to compile the project.  Closed down, restarted tried again, no 
joy.  Tried deleting all the temp files and recompiling but know joy.

Any more ideas?

"Andrue Cope [TeamB]" <no.spam@not.a.valid.address> wrote in message 
news:42bbf2b9$1@newsgroups.borland.com...
> Mike Collins wrote:
>
>> #ifdef __cplusplus
>> extern "C" {
>> #endif
>>
>> within mapi.h.
>
> Turn on \Project\options\compiler\extended error information. (bottom
> right of dialog box). This will give you the header load sequence
> leading up to MAPI.H. Examine the headers in reverse order (ie;the one
> starting /before/ MAPI.H first) looking for missing ';'s.
>
> Chances are good (but not certain) that you misedited a header file
> yesterday :)
>
> -- 
> Andrue Cope [TeamB]
> [Bicester, Uk]
> http://info.borland.com/newsgroups/guide.html 
Technical Details
Message-ID: <42bbf8bc@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42bbf05e$1@newsgroups.borland.com> <42bbf2b9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b51c350020eb73f1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@thebottomofthe.post>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42bbf05e$1@newsgroups.borland.com> <42bbf2b9$1@newsgroups.borland.com>
Subject: Re: Help... Big Problem mapi.h
Date: Fri, 24 Jun 2005 13:22:07 +0100
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
NNTP-Posting-Host: 81.2.92.14
Message-ID: <42bbf8bc@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119615164 81.2.92.14 (24 Jun 2005 05:12:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail