Re: [twsocket] BgException when a tcp client application is started by another application

2005-09-28 Thread Wilfried Mestdagh
Hello Jack, > That's actually a print out of my BgException event handler :) I understeand it now that I read all mails on this topic :) --- Rgds, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/list

Re: [twsocket] THttpCli and redirected links bug - continued

2005-09-28 Thread Albert Wiersch
> >I have worked around this issue by clearing RcvdStream when the > >LocationChange event is called using: > >if (HttpCli->RcvdStream) { > > HttpCli->RcvdStream->Seek(0,soFromBeginning); > >} > > >By the way, I hope the above is sufficient to clear the stream but I'm not > >sure that it is. If i

Re: [twsocket] BgException when a tcp client application is started byanother a

2005-09-28 Thread Angus Robertson - Magenta Systems Ltd
> I think the reason madExcept didn't catch it is because BgExcept > caught it? I bought MadExcept earlier this week and have been playing with it. It's really designed for applications without any try/except handlers, and misses anything already caught in that way, unless you add the function

Re: [twsocket] THttpCli and redirected links bug - continued

2005-09-28 Thread Maurizio Lotauro
On 27-Sep-05 22:56:55 Albert Wiersch wrote: [...] >I have reproduced this problem in my application using this link provided by >a user: >http://net1test.rhmware.com/marketingprimer >I have worked around this issue by clearing RcvdStream when the >LocationChange event is called using: >if (HttpC

Re: [twsocket] BgException when a tcp client application is started byanother application

2005-09-28 Thread Jack
Hello Francois, I found the problem by examining all the socket event handlers. You are right. It's a date time conversion function that gets an invalid environment parameter when run from another app. I think the reason madExcept didn't catch it is because BgExcept caught it? Anyway, thanks a l

Re: [twsocket] BgException when a tcp client application is started byanother application

2005-09-28 Thread Jack
Hello Francois, I installed madExcept, and verified it working with a divided by 0 exception I created on purpose. It was caught by madExcept. However, the problem I had in BgException didn't raise any exception that madExcept was able to catch... -- Best regards, Jack Wednesday, September 28,

Re: [twsocket] Thttpsrv and apache

2005-09-28 Thread Igor Pokorny
I see. When I stop apache, my program runs with port:80 despite what is written in "Portedit" in your ICS Webserver demo The reason is in nonexistent .INI file. Sorry to bother... Igor On 9/28/05, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > Trying to run slightly modified Webserver program

Re: [twsocket] BgException when a tcp client application is started byanother application

2005-09-28 Thread Jack
Hello Francois, I'll try that. Any idea why it doesn't happen when it's run from Windows Explorer? -- Best regards, Jack Wednesday, September 28, 2005, 2:36:34 PM, you wrote: >> BgException: EConvertError: Invalid argument to date encode > You pass an invalid argument to some date encode fun

Re: [twsocket] BgException when a tcp client application is started by another application

2005-09-28 Thread Jack
Hello Wilfried, That's actually a print out of my BgException event handler :) Not in the source code. -- Best regards, Jack Wednesday, September 28, 2005, 2:34:42 PM, you wrote: > Hello Jack, > What is the offending line of code ? > I looked into the source and there is no exception starting

Re: [twsocket] BgException when a tcp client application is started byanother application

2005-09-28 Thread Francois PIETTE
> BgException: EConvertError: Invalid argument to date encode You pass an invalid argument to some date encode function. This happend in one of your socket event hanlder since it is trapped by BgException. I suggest you use MadExcept to find where it occurs exactly. MadExcept is really an incred

Re: [twsocket] BgException when a tcp client application is started by another application

2005-09-28 Thread Wilfried Mestdagh
Hello Jack, What is the offending line of code ? I looked into the source and there is no exception starting with 'bgException' ! --- Rgds, Wilfried http://www.mestdagh.biz Wednesday, September 28, 2005, 20:20, Jack wrote: > Hello Francois and all, > I have a TCP client application that runs j

Re: [twsocket] Thttpsrv and apache

2005-09-28 Thread Francois PIETTE
> Trying to run slightly modified Webserver program from Francois > together with running Apache I have got error 10048 even though I used > different ports. I use Apache with IIS in one computer in my work > without any problem. Where I am mistaken? Obviously, you have wrongly set the port. -- C

[twsocket] BgException when a tcp client application is started by another application

2005-09-28 Thread Jack
Hello Francois and all, I have a TCP client application that runs just fine by itself, meaning, starts directly from Windows Explorer, or Start Menu. However, when the application is started by another application, I always get this errpr: BgException: EConvertError: Invalid argument to date enco

Re: [twsocket] Thttpsrv and apache

2005-09-28 Thread Wilfried Mestdagh
Hello Igor, 10048 definitivel means that the combination addr/proto/port is already in use. Please check with netstat -a --- Rgds, Wilfried http://www.mestdagh.biz Wednesday, September 28, 2005, 20:08, Igor Pokorny wrote: > Hello friends, > Trying to run slightly modified Webserver program fro

[twsocket] Thttpsrv and apache

2005-09-28 Thread Igor Pokorny
Hello friends, Trying to run slightly modified Webserver program from Francois together with running Apache I have got error 10048 even though I used different ports. I use Apache with IIS in one computer in my work without any problem. Where I am mistaken? Regards Igor -- To unsubscribe or cha

Re: [twsocket] SMTP server adding personalized mail headers

2005-09-28 Thread DZ-Jay
Hello: Yes, by convention, any custom header is prefixed with "X-". Usually you want to make a header name that describes what it is going to be used for. Some examples of custom headers I've seen are: X-Spam-Flag X-Loop X-Sender X-Mailer X-AOL-IP X-Priority X-MimeOLE X-Originating-IP

Re: [twsocket] SMTP server adding personalized mail headers

2005-09-28 Thread Arno Garrels
It's OK, X-Headers are custom headers. Wilfried Mestdagh wrote: > Hello, > > I need to add in a special SMTP server some headers in special mails, so > that users can easy classify them with rules in their email reader. > > I see that many programs add headers and all are prceided with X-, like

[twsocket] SMTP server adding personalized mail headers

2005-09-28 Thread Wilfried Mestdagh
Hello, I need to add in a special SMTP server some headers in special mails, so that users can easy classify them with rules in their email reader. I see that many programs add headers and all are prceided with X-, like: X-Text-Classification: normal X-POPFile-Link: http://mail:8080/jump_to_m

Re: [twsocket] THttpCli and redirected links bug - continued

2005-09-28 Thread Merijn Terheggen
I experienced the same RequestDone error and asked about it previously. I handled it by checking de StatusCode. On a RequestDone with StatusCode = 0, it's not the final one and more will follow. However, I seem to end up with clients that never generate a RequestDone anymore... That means clients t

Re: [twsocket] Webinterface and PHP

2005-09-28 Thread Francois Piette
It is likely that Sven moved variables to public section for his own use. Sven is still litening here. He will give is opinion when he notice your message. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, free

Re: [twsocket] gphttpproxy trouble

2005-09-28 Thread Wilfried Mestdagh
Hello Sebastien, The URL when you open in a new window is different, and is a part of the other URL. I wonder if this is a valid URL because it has a // in the middle, and it is from that point that the 'open in new window' URL start. Someone can enlighten this ? --- Rgds, Wilfried http://www.mes

Re: [twsocket] THttpCli and redirected links bug - continued

2005-09-28 Thread Bjørnar Nielsen
First, i have not read the messages you write this follow up to. > This is a follow up. I wanted to report what appears to be a > related issue to the bug in THttpCli when a link is > redirected. It seems that the RequestDone is called twice. > This has already been reported and I've implemente