I am using Delphi 2009 with a recent Indy 10.5.5 development snapshot. In my code I am using a TIDHttp with TIDSSLIOHandlerSocketOpenSSL. The Open SLL .dlls I am using is from the the indy website and are openssl-0.9.8k-i386-win32. The issue is, randomly, I am getting a socket error # 0 error. I never got this error with Delphi 2007 and Indy 10.2.3. Any help would be GREATLY appreciated! Thank you.
The code looks something like this:
sHttpResult, sVar, sParam: string;
ssHttpResult : TStringStream;
slPostData : TStringList;
IdSSL.CheckForDi...Converting Delphi 2007 Indy 10.2.3 to Delphi 2009 Indy 10.5.5 [Edit]
I am currently attempting to port over a Delphi 2007 project that uses Indy 10.2.3 (very successfully) to Delphi 2009 and Indy 10.5.5 (I just got the latest development build this morning). I think I am running into an encoding issue, but am not sure. Specifically, IDHTTP with SSL calls an old CGI and the CGI returns a .zip file and I then save it to the disk. In 2007 and before this worked perfectly. In 2009, it is not. Here is the examples of the 2 different results (though cut way short in the post) I
am getting back:
'PK'#3#4#$14#0#0#0#8#0'rLQ9žrPb€'#0...Error Connecting Delphi 3 to SqlanyWare 5.5
please i want to know how to connect from delpi ver 3 on sqla ver 5.5 on
because when i tried it i got an error message can not start engine. the
steps which i did are 1- install sqla
2- configuire odbc
3- start delphi and from database adminstratot i confguired my db
4- from the delphi dataaccess i choose the dataaccess control
5- i confguire it
6- i try to start connection i got an error message can not start
>steps which i did are 1- install sqla
> 2- configuire odbc
> 3- start del...Encoding issues with Delphi 2007 and Indy 10.5.5
I'm using the last snapshot of Indy 10 (Rev 3539) with Delphi 2007
under a French version of Windows Vista.
I just discovered that some characters wasn't transferred correctly,
probably since the Unicode update (AFAIK that worked fine with Indy
10.2.3). They are replaced by '?' on the other end of the connection.
For instance, this code :
procedure TForm2.Button1Click(Sender: TObject);
procedure TForm2.IdTCPServer1Execute(AContext: TIdContext);
S: string;...C++ Builder/Delphi 2009 and IndyTiburon 10.5.5 error
i installing the latest IndyTiburon package r3641.
There are a problem with the genarated header file /core/IdWinsock2.hpp when i will use the components:
[BCC Error] IdWinsock2.hpp(88):E2040
[BCC Error] IdWinsock2.hpp(89):E2040
[BCC Error] IdWinsock2.hpp(90):E2040
[BCC Error] IdWinsock2.hpp(91):E2040
static const Word IPPORT_REGISTERED_MIN = 0x400;
static const Word IPPORT_REGISTERED_MAX = 0xbfff;
static const Word IPPORT_DYNAMIC_MIN = 0xc000;
static const Word IPPORT_DYNAMIC_MAX = 0xffff;
I comment them out ! and it work fine !
But can i get any other Problem...Indy 10.5.8/Delphi 5 (SMTP) getting "... temporary failure"
Everything has been working fine for over a year, but now a customer is getting the above error. Actually, the program simply bombs on their system. That error only shows up when running inside Delphi. It never makes it outside of Indy code before bombing the program.
Two things: this only happens after several e-mails are sent in a short period of time. Also, this was not a problem before, when the program ran MUCH slower, due to BDE/SQL speed issues. We are now using the Advantage database server, which makes everything run much faster.
We know there is a problem if we go over 250 e-ma...Delphi XE HTTP: error "Socket Error #10054 Connection reset by peer" [Edit]
Communication type is set to HTTP, LifeCycle is set to Invocation.
Invocation represents a stateless connection, but when the network connection drops, the client throws the error "Socket Error #10054 Connection reset by peer". Are there any other properties to set up apart from LifeCycle?
> Communication type is set to HTTP, LifeCycle is set to Invocation.
> Invocation represents a stateless connection, but when the network connection drops, the client throws the error "Socket Error #10054 Connection reset by peer". Are there any other proper...Indy 10 Installation Delphi 5
As a result of this POODLE thing, I have to upgrade our Delphi 5 program to use TLS instead of SSL3, so I was trying to upgrade from Indy 9 to Indy 10 (does some version of Indy 9 support TLSv1.2?). So after running the batch file that comes with the installation (Full_5.bat) and installing the component in Delphi 5. I go and drop a idIOhandlerSSL or whatever onto an empty form and get an error:
"Stack overflow - save your work and restart Delphi"
Anyone know how to get the installation to work?
> As a result of this POODLE thing, I have t...migrating from Delphi 6 With Indy 10 to XE7 with Indy 10
I updated the original Indy in D6 to version 10 several years ago. Now I want to migrate my application from D6 to XE7 and would like some feedback on the best route to take. I usually send data using readln and writeln statements. The data is typically XML format. Since migrating to XE7 will include potential unicode data what is the best approach to take when reading and writing data? Will writeln and readln work in these cases or should I be using a different strategy to send unicode data between
the tidtcpclient and tidtcpserver applications?
> I usually send data ...Problem with Delphi 3.0 and SQL Anywhere 18.104.22.168
Hi All !
I have next problem:
I have programm writing in Delphi 3.0 and
SQL Anywhere server 5.0.3 build #1666 is runnig under Intranetware
4.11 for small buisnes.
The client station run with programm on Delphi 3.0, get the
"Error ! Trying to acsses the page beyond the maximum allowspace ....." or someting
The mate is that it's the error with DB Space.(I think so)
I think may be it the error in programm but may be in sever.
When I shut down server and then restart it - it OK.
This error is apearence once a week.
What i have to do ?
Please help...Delphi 5 To Delphi 2009
I upgraded to Delphi 2009 from D5. The install says I can install Delphi and/or C++. Delphi installed OK but I see nothing of C++. What am I missing or does my upgrade not include C++? Thanks
It depends on what you bought. If you bought Delphi 2009 only, that's
what you get. If you bought Delphi 2009 and C++ Builder 2009 you get
both. My guess is you got Delphi 2009 only. The simplest way to verify
is look your invoice - it should say I would think. You could also go to
members.embarcadero.com, login, then click on my registered products.
There will be a textual description of...Delphi 5 to Delphi 6 and up
Trying to add 7Zip compression support to my delphi application.
I am using the ported 7Zip sdk (see their website, they have a link).
I am stumped on how to rewrite a single function:
function ReverseDecode(var Models: array of SmallInt; ....): .....
where the input is mostly a fixed size array of SmallInt.
This code perfectly compiles and functions in Delphi 6 and up, but in Delphi 5 I get the error:
There is no overloaded version of 'ReverseDecode' that can be called with these arguments
And obviously, the input (fixed) isn't the same as the param de...Delphi 5 to Delphi XE4
Thinking about making the conversion. Of course we have numerous components such as:
You guys have any advice as to the effort and time it may possibly take. It is a large application, several hundred thousand lines.
And that's what happens when using third party components, a lot of extra work. I have been burned a few times.
I now minimize the use to a few well known suppliers, like TMS.
I have "banned" a lot of other components.
> Thinking about making the conver...Delphi 2010 / IdHTTP problem: Socket Error # 0
Use D2010 Indy 10
gmail login with OAuth. When i send Post(https://accounts.google.com/o/oauth2/token,ABody,Response)
In Indy on Line 2174 error "Socket Error # 0"
case FHTTPProto.ProcessResponse(AIgnoreReplies) of
In Delphi XE2 indy work withiut errors.
<Roman Dukuy> wrote in message news:firstname.lastname@example.org...
> Use D2010 Indy 10
> gmail login with OAuth. When i send
> In Indy on Line 2174 error "Socket Error # 0"
> case FHTTPProto.ProcessResp...