🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages Started by MR Mon, 12 Dec 2005 07:50
BDS2006: Linker-Error at Indy: Unresolved external '__fastcall Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes::TSt...
#920
Author: MR
Date: Mon, 12 Dec 2005 07:50
29 lines
1889 bytes
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 
Re: BDS2006: Linker-Error at Indy: Unresolved external '__fastcall Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes:...
#921
Author: 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 
Re: BDS2006: Linker-Error at Indy: Unresolved external '__fastcall Idhttp::TIdCustomHTTP::Get(System::AnsiString, const Classes:...
#922
Author: Remy Lebeau (TeamB)
Date: Mon, 12 Dec 2005 17:49
11 lines
1296 bytes
<MR> wrote in message news:o5aqp1p1aifmugfthpsnfl9v5s4i3s11if@4ax.com...

> Might it be there is some confusion with the version numbers
> of Indy? When asked while installing I chose V10 (maybe
> BCB5 uses V9)

Indy 10 does not support C++ at this time.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads