๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #921

Re: BDS2006: Linker-Error at Indy: Unresolved external '__fastcall Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes:...

#921
From: MR
Date: Mon, 12 Dec 2005 08:44
63 lines
2864 bytes
It seems I really included the headers from an old-version directory,
but changing it make the problem even worse:

This is what I did:
  I removed my old indy9-included-directory and inserted
$(BDS)\include\Indy10

Now I got some compiler-errors, starting with

  [C++ Fehler] Idwinsock2.hpp(411): E2257 , expected

in line

  typedef TWSAProtocol_InfoW *LPWSAProtocol_InfoW;
                                                    ^

Trying to find out where TWSAProtocol_InfoW is declared
(vcl\InWinSock2.hpp) and trying to include it before the includation
of the <Id...hpp>-Files was rearranged to a position behind the
<Id...hpp>-Files (where it was useless regarding the compiler-error
above).

~~~~~~~~~~~~~~~

Perhaps it is useful to use Indy9 instead of v10. Can I use it without
having to reinstall the whole BDS again? 



Thanks a lot,

Michael


>When trying to port an application from BCB5 to BDS2006 (C++ Preview)
>I get the linker-error
>
>  [Linker Fehler] Error: Ungel๏ฟฝste externe '__fastcall
>Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes::TStream
>*)' referenziert von ...OBJ
>
>(translated as
>
>Unresolved external '__fastcall
>Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes::TStream
>*)' referenced from ...OBJ
>
>)
>
>The Object IdHTTP, declared inside the main-form as 'TIdHTTP *IdHTTP',
>is created at design-time in the form, so I do not think I should
>explicitely add some Indy .lib/.obj-Files to my project, should I?
>
>Might it be there is some confusion with the version numbers of Indy?
>When asked while installing I chose V10 (maybe BCB5 uses V9), but the
>usage of Get() is accepted while compiling, so Get() should exist in
>the appropriate Indy-library.
>
>What could have gone wrong?
>
>Thanks a lot,
>
>Michael 
Technical Details
Message-ID: <cscqp15ifo32e419ps4923n733kl74lo46@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <o5aqp1p1aifmugfthpsnfl9v5s4i3s11if@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8c9a3e096288c80c
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII
From: MR <>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: BDS2006: Linker-Error at Indy: Unresolved external '__fastcall Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes::TStream *)' 
Date: Mon, 12 Dec 2005 09:44:55 +0100
Message-ID: <cscqp15ifo32e419ps4923n733kl74lo46@4ax.com>
References: <o5aqp1p1aifmugfthpsnfl9v5s4i3s11if@4ax.com>
X-Newsreader: Forte Free Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 84.57.31.255
X-Trace: newsgroups.borland.com 1134377104 84.57.31.255 (12 Dec 2005 00:45:04 -0700)
Lines: 63
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail