Re: [twsocket] TWSocket Digest, Vol 321, Issue 1

2009-05-14 Thread Ole Braad-Sørensen
On Mon, 11 May 2009 12:00:01 +, you wrote: You do not check for ErrCode = 0 in OnRequestDone. Put a break point before or at the switch statement and single-step thru the code. That will show you what's wrong. Dont' think that the code I showed was til only code I have tried. I have tried

Re: [twsocket] TWSocket Digest, Vol 321, Issue 4

2009-05-14 Thread Ole Braad-Sørensen
On Tue, 12 May 2009 12:00:01 +, you wrote: Possibly you need breaks? :-) switch(RqType) { case smtpConnect: SMTP-Helo(); break; case smtpHelo: SMTP-MailFrom(); break; casesmtpEhlo: SMTP-Auth(); break; casesmtpAuth: SMTP-MailFrom(); break; case

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Fastream Technologies
Strange, why do I get the exception then?! Did you PostMessage from OnRequestDone as Francois said? I think there is a need for a check for double onrequestdones after a get/head/post. Regards, SZ On 5/14/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: I tried to

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Fastream Technologies
Hi, The event handler function is already in a mesage posted by triggerrequestdone. I think the problem is not too less messages but instead too much of it. (SetReady also posts message!) Don't you think we need a mechanism for assuring that Setready and onrequestdone is called just once per

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Fastream Technologies
BTW, I test with httpStst not httptst as that is (SSL) is what we need in our program. Maybe you can send me your test code so that I can be sure? I am ok with delphi. BR, SZ On 5/14/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: I tried to provide. In the ICS

Re: [twsocket] TWSocket Digest, Vol 321, Issue 4

2009-05-14 Thread Arno Garrels
Ole Braad-Sørensen wrote: On Tue, 12 May 2009 12:00:01 +, you wrote: Possibly you need breaks? :-) switch(RqType) { case smtpConnect: SMTP-Helo(); break; case smtpHelo: SMTP-MailFrom(); break; case smtpEhlo: SMTP-Auth(); break; case smtpAuth: SMTP-MailFrom();

Re: [twsocket] TWSocket Digest, Vol 321, Issue 4

2009-05-14 Thread Piotr Dałek
Hello! On Tue, 12 May 2009 12:00:01 +, you wrote: Possibly you need breaks? :-) switch(RqType) { case smtpConnect: SMTP-Helo(); break; case smtpHelo: SMTP-MailFrom(); break; case smtpEhlo: SMTP-Auth(); break; case smtpAuth: SMTP-MailFrom(); break;

Re: [twsocket] TWSocket Digest, Vol 321, Issue 4

2009-05-14 Thread Robert Chafer
There are people who write C++ without knowing bits of syntax like 'break'? On Thu, 14 May 2009 10:22:20 +0200, you wrote: Ole Braad-Sørensen wrote: On Tue, 12 May 2009 12:00:01 +, you wrote: Possibly you need breaks? :-) switch(RqType) { case smtpConnect:

[twsocket] Lots of Ambiguity issues when trying to use HttpCli (for instance) in CB2009 project

2009-05-14 Thread Peter Van Hove
Hi, I'm porting my app from BCB5 to CB2009 To do that I ported the ICS specific code (a class around the HttpCli component) a while ago and that seemed to work great in a little test program. Yesterday and Today, trying to port the whole project I ran into lots of Ambiguity issues, for

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Arno Garrels
Fastream Technologies wrote: BTW, I test with httpStst not httptst as that is (SSL) is what we need in our program. I tested the HttpTst demo successfully as well. Maybe you can send me your test code so that I can be sure? I am ok with delphi. You can be sure! I can send you my Delphi

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Fastream Technologies
Please send me your modified HTTPsTST source code so that I can have a look. I really wonder why we are not in sync... Yes I am using Icsv7 but with my own defines which is legal. I wrote that to you before: NOFORMS;NO_DEBUG_LOG;USE_SSL;NO_ADVANCED_HTTP_CLIENT_FEATURES;SECURITY_WIN32 Please try

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Arno Garrels
Fastream Technologies wrote: Please send me your modified HTTPsTST source code so that I can have a look. I really wonder why we are not in sync... Yes I am using Icsv7 but with my own defines which is legal. I wrote that to you before:

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Fastream Technologies
Try this in debug mode: http://www.fastream.com/alpha/HttpsTst.zip On 5/14/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Please send me your modified HTTPsTST source code so that I can have a look. I really wonder why we are not in sync... Yes I am using

Re: [twsocket] Lots of Ambiguity issues when trying to use HttpCli (forinstance) in CB2009 project

2009-05-14 Thread Arno Garrels
Peter Van Hove wrote: Yes, that's a problem. In OverbyteIcsLibrary.pas there are still four functions problematic with Builder. Please try to add the $EXTERNALSYM directive like: ... Rebuild the ICS packages, does that change anything? Where do I add this code then please ? In

Re: [twsocket] THttpCli bug -- reported earlier on another server, repeating behavior again

2009-05-14 Thread Arno Garrels
Fastream Technologies wrote: Try this in debug mode: http://www.fastream.com/alpha/HttpsTst.zip This demo calls HEAD the sync method!! And does not compile due to missing files. -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Lots of Ambiguity issues when trying to use HttpCli (forinstance) in CB2009 project

2009-05-14 Thread Arno Garrels
Peter Van Hove wrote: Yes, that's a problem. In OverbyteIcsLibrary.pas there are still four functions problematic with Builder. Please try to add the $EXTERNALSYM directive like: ... Rebuild the ICS packages, does that change anything? Where do I add this code then please ? ...

Re: [twsocket] Fwd: ICS Web Server SSL Configuration Troubles.

2009-05-14 Thread Arno Garrels
Fastream Technologies wrote: Hello All, A customer has problems with the attached cabundle he received from Comodo. IE8 works withOUT this with no complaints/warnings but FF complains! You already got the answer in thread: SSL intermediate cert problem -- Arno Garrels -- To unsubscribe

Re: [twsocket] Fwd: ICS Web Server SSL Configuration Troubles.

2009-05-14 Thread Fastream Technologies
Thanks for the answer in that thread but the client despite following that advice still fails to get it to work. Did you guys on the list saw the attachment in my pevious message? Could you try? Best Regards, SZ On 5/14/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote:

Re: [twsocket] Fwd: ICS Web Server SSL Configuration Troubles.

2009-05-14 Thread Arno Garrels
Fastream Technologies wrote: Thanks for the answer in that thread but the client despite following that advice still fails to get it to work. Well, that's your own problem! If you sell products with features you do not understand, please don't expect support from this list. Especially do not