🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help... Big Problem mapi.h

#5904
From: Mike Collins
Date: Fri, 24 Jun 2005 11:46
22 lines
2067 bytes
Hi all, just wondering if anyone has any ideas about this.  Just come into 
work today and re-compiles a project that I've been working on for 2 months 
and all of a sudden I've got a whole host of complie errors.  The seem to be 
stemming from and in-house class that we use all the time.  We have many 
in-house class that are used for common tasks, the one in question is called 
TSystemTools.  It is pretty mucg used in every application we write, all of 
which still compile.  This particular project keeps kicking up the error:

[C++ Error] MAPI.h(30): E2141 Declaration syntax error

which seems to relate to the lines

#ifdef __cplusplus
extern "C" {
#endif

within mapi.h.  The TSystemTools class has a function that is used for 
sending e-mails to MAPI.hpp is included in it's header.  If I rem out that 
header and the fuction, I just get the same error relating to another header 
iptypes.h and so on.  Does anyone have any ideas.  I'm totally against the 
wall here.  Only thing I can think of is to strip the application down and 
re-build it from scratch - but this will literally take me two weeks :-(
Technical Details
Message-ID: <42bbf05e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b51c350020eb73f1,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@thebottomofthe.post>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Help... Big Problem mapi.h
Date: Fri, 24 Jun 2005 12:46:33 +0100
Lines: 24
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: <42bbf05e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119613022 81.2.92.14 (24 Jun 2005 04:37:02 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail