🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2700

Problem with IdSMTP in 2006

#2700
From: David Ayre
Date: Sat, 11 Feb 2006 09:24
17 lines
1374 bytes
Hi,

I have just installed 2006 and in an old application I used NMSMTP 
component and have tried to replace this with IdSMTP component from
Indy 9 and I get a compile error highlighting this line in
IdGlobal.hpp.

extern PACKAGE int __fastcall PosInStrArray(const AnsiString
SearchStr, AnsiString * Contents, const int Contents_Size, const
bool CaseSensitive = true);
The error message says it cannot initialise this item.
What have I done wrong?

Cheers,

David Ayre
Technical Details
Message-ID: <43edbb5e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,25804b7c1ecf0935,start
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: 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
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43edbb5e$1@newsgroups.borland.com>
Date: 11 Feb 2006 02:24:30 -0700
X-Trace: newsgroups.borland.com 1139653470 207.105.83.66 (11 Feb 2006 02:24:30 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail