Article View: borland.public.cppbuilder.internet.socket
Article #2707Re: Problem with IdSMTP in 2006
From: David Ayre
Date: Tue, 14 Feb 2006 08:11
Date: Tue, 14 Feb 2006 08:11
45 lines
2270 bytes
2270 bytes
Hi Remy, Since last post I have removed an unwanted include from one of my units and the problem has gone away. In a unit that called the form I was having trouble with, was #include <windows.h> which was left over from a much earlier version of the application. I removed it and all was well. Cheers, David "David Ayre" <davidcayre@ntlworld.com> wrote: > >"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: >> >>"David Ayre" <davidcayre@ntlworld.com> wrote in message >>news:43edbb5e$1@newsgroups.borland.com... >> >>> I get a compile error highlighting this line in IdGlobal.hpp. >> >>There is nothing wrong with that line. >> >>> The error message says it cannot initialise this item. >> >>What is the EXACT error message, word for word? >> >> >>Gambit >> >> >Hi Remy, >The messages were:- > >[C++ Error] Idglobal.hpp(322): E2189 extern variable cannot be initialized >[C++ Error] Idglobal.hpp(322): E2188 Expression syntax >[C++ Error] Idglobal.hpp(322): E2293 ) expected > >It only happens when I place the IdSMTP and IdMessage components on the form in a particular application. > >Cheers, > >David
Technical Details
Message-ID:
<43f19eab@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43edbb5e$1@newsgroups.borland.com> <43f03741$1@newsgroups.borland.com> <43f05994$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,25804b7c1ecf0935 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "David Ayre" <davidcayre@ntlworld.com> Sender: "David Ayre" <davidcayre@ntlworld.com> Reply-To: "David Ayre" <davidcayre@ntlworld.com> Subject: Re: Problem with IdSMTP in 2006 Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 62.252.224.18 X-Forwarded-For: 82.24.203.202 References: <43edbb5e$1@newsgroups.borland.com> <43f03741$1@newsgroups.borland.com> <43f05994$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <43f19eab@newsgroups.borland.com> Date: 14 Feb 2006 01:11:07 -0700 X-Trace: newsgroups.borland.com 1139908267 207.105.83.66 (14 Feb 2006 01:11:07 -0700) Lines: 46 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail