Article View: borland.public.cppbuilder.internet.socket
Article #1915some problems with installing indy 9 on Builder 6
From: dave
Date: Tue, 03 Oct 2006 18:02
Date: Tue, 03 Oct 2006 18:02
59 lines
3177 bytes
3177 bytes
Hello,
I am having some problems with the installation of Indy 9.
Most of the components seem to work. But the components on the Indy I/O Handler palette don't. For isntance when I put these two components on a blank form (IdSSLIOHandlerSocket1, IdServerIOHandlerSSL1) I get these errors:
[C++ Error] IdIOHandlerSocket.hpp(36): E2316 'TIdSocksInfo' is not a member of 'Idsocks'
[C++ Error] IdIOHandlerSocket.hpp(36): E2040 Declaration terminated incorrectly
[C++ Error] IdIOHandlerSocket.hpp(37): E2316 'TIdSocksInfo' is not a member of 'Idsocks'
[C++ Error] IdIOHandlerSocket.hpp(37): E2293 ) expected
[C++ Error] IdIOHandlerSocket.hpp(38): E2316 'TIdSocksInfo' is not a member of 'Idsocks'
[C++ Error] IdIOHandlerSocket.hpp(38): E2040 Declaration terminated incorrectly
[C++ Error] IdIOHandlerSocket.hpp(56): E2316 'TIdSocksInfo' is not a member of 'Idsocks'
[C++ Error] IdIOHandlerSocket.hpp(56): E2040 Declaration terminated incorrectly
[C++ Error] Unit1.h(20): E2303 Type name expected
[C++ Error] Unit1.h(20): E2139 Declaration missing ;
[C++ Error] Unit1.h(21): E2303 Type name expected
[C++ Error] Unit1.h(21): E2139 Declaration missing ;
[C++ Error] Unit1.h(20): E2109 Not an allowed type
[C++ Error] Unit1.h(21): E2109 Not an allowed type
--------
Another problem I am having is when I compiled a project with the IdHTTP component. I am having problems with the Post method. I have the following code.
bool TForm1::Post_To_Web1_A_String(AnsiString Request_Content_Type, AnsiString Http_Loc, TStringList *content)
{
TMemoryStream *mem1 = new TMemoryStream();
try
{
try
{
//content->Text = "CREATE TABLE test5 (`Key_ID2` INT(11) NOT NULL)";
IdHTTP_Web1->Request->ContentType = Request_Content_Type;
IdHTTP_Web1->Post(Http_Loc, content, mem1);
//IdHTTP_Web1->Post()
}
__finally
{
content->Clear();
}
}
catch(const Exception &e)
{
ShowMessage(e.Message);
return(false);
}
return(true);
}
And I get the following error:
[Linker Error] Unresolved external '__fastcall Idhttp::TIdHTTP::Post(System::AnsiString, const Classes::TStrings *, const Classes::TStream *)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\SITE_BUILDER\SITE_BUILDER_UNIT1.OBJ
Any ideas?
Technical Details
Message-ID:
<4522a59b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d3cf39e059e3a52b,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "dave" <dave@nospamme.com> Sender: "dave" <dave@nospamme.com> Reply-To: "dave" <dave@nospamme.com> Subject: some problems with installing indy 9 on Builder 6 Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 209.113.245.98 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4522a59b$1@newsgroups.borland.com> Date: 3 Oct 2006 11:02:03 -0700 X-Trace: newsgroups.borland.com 1159898523 207.105.83.66 (3 Oct 2006 11:02:03 -0700) Lines: 62 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail