Re: [twsocket] Need help with TServiceApplication
So perhaps we should assume Services are more kernel-level than user-level in terms of being able to crash Windows?! Thanks, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 06, 2006 11:15 AM Subject: Re: [twsocket] Need help with TServiceApplication : Fastream Technologies wrote: : Hello, : : When IQRP service (a SYSTEM service) start type is set to auto, : Windows in Safe mode login screen crashes. It does not let the user : to log in! Simply reboots! This is both on my computer and customer : computer 2500 km away in Sweden. Any idea? Is this a Windows bug? : When I set the startup type to manual and try to manually start the : service in Safe mode, it says cannot start in safe mode but I do : not understand why it crashes the entire windows! : : No idea, but you could make your service depend on services required : to run your service, it requires at least TCPIP and probably a lot : more. : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : : : Best Regards, : : SubZero : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Need help with TServiceApplication
So perhaps we should assume Services are more kernel-level than user-level in terms of being able to crash Windows?! There are service applications and service drivers, the latter are obviously running at a lower level but can not be created using Delphi. Service applications are no different to interactive applications, except for recognising extra control messages. But if they misbehave on start-up, Windows will wait 30 seconds or more for a response delaying the boot process. If other services are dependent on ones that won't start, they won't run either. The worst case I've seen was two years ago when a Sun Java runtime timebomb (an expired certificate) caused any programs needed the runtime to hang, including the APC power management drivers used to power down PCs when batteries are failing, which somehow caused several other services to die, in thousands of servers around the world, on the same day. Moral is never trust any program dependencies, runtimes in particular, like Java, Perl or .net. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
Hello, I think using a list/set of TAuthTypes is a cool idea. I am planning in the GUI a checkbox scheme. The most complex one should have the biggest priority (Digest then Basic instead of Basic then Digest in www-authenticate order for example). Best Regards, SubZero - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 10:56 AM Subject: Re: [twsocket] Webserv demo authentication : Hello, : : Problem solved, IE wasn't setup for authentication for some reason. : : Now to another problem in THttpSrv. : : I really like to have an option to select which authentication : methods the server provides in its 401 response. I mean I want : to be able to provide any possible combination of the three : methods basic, digest and ntlm. : : I suggest to have a set of TAuthenticationType AuthTypes for that : purpose. AuthTypes could be published instead of AuthType. : Internally FAuthType can be used for the current authentication : method a client selected from the set of methods provided in the : first 401 response. : : What do you think? : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : : : Arno Garrels wrote: : Maurizio Lotauro wrote: : Scrive Arno Garrels [EMAIL PROTECTED]: : : Maurizio Lotauro wrote: : Scrive Arno Garrels [EMAIL PROTECTED]: : : Indeed, however I haven't touched that stuff at all, anyway no : change: http://www.duodata.de/misc/dumpBasic2.pcap : : I don't expected that it was the cause of the malfunction. Are you : running ethereal on the same pc of the server or of the browser? : : It runs on the server-side. : : Try on the client side too. : : Tomorrow ;-) : : : : : Bye, Maurizio. : : : This mail has been sent using Alpikom webmail system : http://www.alpikom.it : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] What about a mod_rewrite for ICS THttpServer?
Hello, I have not used regular expressions school and wonder what would be the complexity of such code. Does anybody have any idea? Any offers to do the job in Delphi or BCB 2006? (Delphi code must be tested in BCB in the end.) Best Regards, SubZero -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
Fastream Technologies wrote: Hello, I think using a list/set of TAuthTypes is a cool idea. I am planning in the GUI a checkbox scheme. The most complex one should have the biggest priority (Digest then Basic instead of Basic then Digest in www-authenticate order for example). The only problem is that it breaks existing application code. However current implementation of Auth is a crap, the server cannot force a client to use i.e. Digest, since Basic is also provided when AuthType is atDigest. Any better idea? Anyway I will add the NTLM stuff to the V6 server only, if someone wants it in V5 he would have to port by himself. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Best Regards, SubZero - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 10:56 AM Subject: Re: [twsocket] Webserv demo authentication Hello, Problem solved, IE wasn't setup for authentication for some reason. Now to another problem in THttpSrv. I really like to have an option to select which authentication methods the server provides in its 401 response. I mean I want to be able to provide any possible combination of the three methods basic, digest and ntlm. I suggest to have a set of TAuthenticationType AuthTypes for that purpose. AuthTypes could be published instead of AuthType. Internally FAuthType can be used for the current authentication method a client selected from the set of methods provided in the first 401 response. What do you think? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Indeed, however I haven't touched that stuff at all, anyway no change: http://www.duodata.de/misc/dumpBasic2.pcap I don't expected that it was the cause of the malfunction. Are you running ethereal on the same pc of the server or of the browser? It runs on the server-side. Try on the client side too. Tomorrow ;-) Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
What do you think? Agreed for V6. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 9:56 AM Subject: Re: [twsocket] Webserv demo authentication Hello, Problem solved, IE wasn't setup for authentication for some reason. Now to another problem in THttpSrv. I really like to have an option to select which authentication methods the server provides in its 401 response. I mean I want to be able to provide any possible combination of the three methods basic, digest and ntlm. I suggest to have a set of TAuthenticationType AuthTypes for that purpose. AuthTypes could be published instead of AuthType. Internally FAuthType can be used for the current authentication method a client selected from the set of methods provided in the first 401 response. What do you think? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Indeed, however I haven't touched that stuff at all, anyway no change: http://www.duodata.de/misc/dumpBasic2.pcap I don't expected that it was the cause of the malfunction. Are you running ethereal on the same pc of the server or of the browser? It runs on the server-side. Try on the client side too. Tomorrow ;-) Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
No problem for us as well. - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 1:45 PM Subject: Re: [twsocket] Webserv demo authentication : What do you think? : : Agreed for V6. : -- : [EMAIL PROTECTED] : Author of ICS (Internet Component Suite, freeware) : Author of MidWare (Multi-tier framework, freeware) : http://www.overbyte.be : : - Original Message - : From: Arno Garrels [EMAIL PROTECTED] : To: ICS support mailing twsocket@elists.org : Sent: Thursday, September 07, 2006 9:56 AM : Subject: Re: [twsocket] Webserv demo authentication : : : Hello, : : Problem solved, IE wasn't setup for authentication for some reason. : : Now to another problem in THttpSrv. : : I really like to have an option to select which authentication : methods the server provides in its 401 response. I mean I want : to be able to provide any possible combination of the three : methods basic, digest and ntlm. : : I suggest to have a set of TAuthenticationType AuthTypes for that : purpose. AuthTypes could be published instead of AuthType. : Internally FAuthType can be used for the current authentication : method a client selected from the set of methods provided in the : first 401 response. : : What do you think? : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : : : Arno Garrels wrote: : Maurizio Lotauro wrote: : Scrive Arno Garrels [EMAIL PROTECTED]: : : Maurizio Lotauro wrote: : Scrive Arno Garrels [EMAIL PROTECTED]: : : Indeed, however I haven't touched that stuff at all, anyway no : change: http://www.duodata.de/misc/dumpBasic2.pcap : : I don't expected that it was the cause of the malfunction. Are you : running ethereal on the same pc of the server or of the browser? : : It runs on the server-side. : : Try on the client side too. : : Tomorrow ;-) : : : : : Bye, Maurizio. : : : This mail has been sent using Alpikom webmail system : http://www.alpikom.it : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Webserver AUTH keep-alive
Hi, Current code doesn't handle keep-alive in the 401 response. What are the recommended keep-alive headers with Basic as well as Digest? M$ IIS sends always Connection: close in the first 401 header. Currently I do the same. Any veto? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserver AUTH keep-alive
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 5:36 PM Subject: Re: [twsocket] Webserver AUTH keep-alive : Fastream Technologies wrote: : Well, in our code, unless the client request type is close, we return : keep-alive if it is NOT HTTP/1.0 and 1.1. : : So, are you using your own copy with individual changes? We are overriding methods in C++. : Default HTTP/1.1 is keep-alive, Default HTTP/1.0 is closing the connection. Yes. : I've done the following: : If a client sends a request for a protected page and has not yet the : Authorization header it will be sent header Connection: close in HTTP/1.1. This is bad design IMO. If the latency is too high then the client would face long connection establishment time twice. Regards, SZ : Otherwise, if not NTLM, the requested type is used. : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : : : Regards, : : SZ : : - Original Message - : From: Arno Garrels [EMAIL PROTECTED] : To: ICS support mailing twsocket@elists.org : Sent: Thursday, September 07, 2006 4:40 PM : Subject: [twsocket] Webserver AUTH keep-alive : : : Hi, : : Current code doesn't handle keep-alive in the : 401 response. : : What are the recommended keep-alive headers with : Basic as well as Digest? : : M$ IIS sends always Connection: close in the first : 401 header. : : Currently I do the same. : : Any veto? : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
Hi, Currently I don't need the old property AuthType at all. I want to exchange AuthType by AuthTypes. That will make virtually no problems, code can be updated very easy. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Fastream Technologies wrote: Hello, I think using a list/set of TAuthTypes is a cool idea. I am planning in the GUI a checkbox scheme. The most complex one should have the biggest priority (Digest then Basic instead of Basic then Digest in www-authenticate order for example). The only problem is that it breaks existing application code. However current implementation of Auth is a crap, the server cannot force a client to use i.e. Digest, since Basic is also provided when AuthType is atDigest. Any better idea? You can avoid the problem using the trick used by Delphi to read/write non published properties into dfm. The situation is that you can have AuthType or AuthTypes property written in the dfm but not both. So if the read of AuthType is triggered then you set the AutTypes property accordingly. I never used this technik but I saw it in action and it is very useful to keep compability with old application, in particular when the form will not recompiled. If you want I can write some code as sample how it should work. It is a think that I should do soon or later. Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserver AUTH keep-alive
This is bad design IMO. OK, changed, at least it works, so I guess it's not wrong. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 4:40 PM Subject: Re: [twsocket] Webserver AUTH keep-alive - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 5:36 PM Subject: Re: [twsocket] Webserver AUTH keep-alive : Fastream Technologies wrote: : Well, in our code, unless the client request type is close, we return : keep-alive if it is NOT HTTP/1.0 and 1.1. : : So, are you using your own copy with individual changes? We are overriding methods in C++. : Default HTTP/1.1 is keep-alive, Default HTTP/1.0 is closing the connection. Yes. : I've done the following: : If a client sends a request for a protected page and has not yet the : Authorization header it will be sent header Connection: close in HTTP/1.1. This is bad design IMO. If the latency is too high then the client would face long connection establishment time twice. Regards, SZ : Otherwise, if not NTLM, the requested type is used. : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : : : Regards, : : SZ : : - Original Message - : From: Arno Garrels [EMAIL PROTECTED] : To: ICS support mailing twsocket@elists.org : Sent: Thursday, September 07, 2006 4:40 PM : Subject: [twsocket] Webserver AUTH keep-alive : : : Hi, : : Current code doesn't handle keep-alive in the : 401 response. : : What are the recommended keep-alive headers with : Basic as well as Digest? : : M$ IIS sends always Connection: close in the first : 401 header. : : Currently I do the same. : : Any veto? : : --- : Arno Garrels [TeamICS] : http://www.overbyte.be/eng/overbyte/teamics.html : : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
Scrive Arno Garrels [EMAIL PROTECTED]: Hi, Hi, Currently I don't need the old property AuthType at all. I want to exchange AuthType by AuthTypes. That will make virtually no problems, code can be updated very easy. I try to explain it better. If you drop the AuthType property (or any other published one) and an application will recompiled without open the unit that contains the component then you get an error at run time when the form will created because in the dfm it is still a property with that name. What I suggested is to avoid this error. Then you can do what you want: use the value that is in the dfm to have the same effect (in that case only one authentication will used) or simply ignore it. Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Need help with TServiceApplication
In the end of the day, Windows under no condition reboot without user demand because of user-mode code. - Original Message - From: Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, September 07, 2006 12:13 PM Subject: Re: [twsocket] Need help with TServiceApplication : So perhaps we should assume Services are more kernel-level than : user-level in terms of being able to crash Windows?! : : There are service applications and service drivers, the latter are : obviously running at a lower level but can not be created using Delphi. : : Service applications are no different to interactive applications, : except for recognising extra control messages. But if they misbehave on : start-up, Windows will wait 30 seconds or more for a response delaying : the boot process. If other services are dependent on ones that won't : start, they won't run either. : : The worst case I've seen was two years ago when a Sun Java runtime : timebomb (an expired certificate) caused any programs needed the runtime : to hang, including the APC power management drivers used to power down : PCs when batteries are failing, which somehow caused several other : services to die, in thousands of servers around the world, on the same : day. Moral is never trust any program dependencies, runtimes in : particular, like Java, Perl or .net. : : Angus : -- : To unsubscribe or change your settings for TWSocket mailing list : please goto http://www.elists.org/mailman/listinfo/twsocket : Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Hi, Hi, Currently I don't need the old property AuthType at all. I want to exchange AuthType by AuthTypes. That will make virtually no problems, code can be updated very easy. I try to explain it better. If you drop the AuthType property (or any other published one) and an application will recompiled without open the unit that contains the component then you get an error at run time when the form will created because in the dfm it is still a property with that name. What I suggested is to avoid this error. Then you can do what you want: use the value that is in the dfm to have the same effect (in that case only one authentication will used) or simply ignore it. Do we really need that? Working application code must be slightly adjusted anyway, one rule you learn in the first VCL lessons is to open any form of a project when components have been updated. Maybe usefull when the project has plenty of forms? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Webserv demo authentication
Scrive Arno Garrels [EMAIL PROTECTED]: Maurizio Lotauro wrote: [...] I try to explain it better. If you drop the AuthType property (or any other published one) and an application will recompiled without open the unit that contains the component then you get an error at run time when the form will created because in the dfm it is still a property with that name. What I suggested is to avoid this error. Then you can do what you want: use the value that is in the dfm to have the same effect (in that case only one authentication will used) or simply ignore it. Do we really need that? For this specific case probably not. The AuthType was introduced quite recently so changing is should be quite harmless. But in general I think that what I suggest could be useful when you made some changes and the component automatically convert the old properties values into the new one. Otherwise the old value will lost. Working application code must be slightly adjusted anyway, one rule you learn in the first VCL lessons is to open any form of a project when components have been updated. I don't think that lot of developers doing so :-) In particular you should reopen all forms of all projects. If you don't do it then when you reopen an old project and don't remember to reopen all forms then you will get an AV at run time. Maybe usefull when the project has plenty of forms? This could be a good reason :-) As said this is a method that could be used to inizialize a new proerty with the value of old one. For example, what is the default of AuthTypes? If it is [] then if is was atNTLM the setting will lost. If it is all set then if it it was atNone the setting will completly different. As said, most probably it this specific case doesn't matter. But I think that it is important to know that exists a method to automatically convert an old property. Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] ICS WebServer + JavaScript questions
Hello, We are producing javascript from within ICS web server/C++ and wonder if the following is possible with JS, - Creating an upload meter for File POSTs with Javascript - Making multi-socket uploads with different content-ranges (server-side will be coded by ourselves, we are looking for a solution to hack the browsers to send it) Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] [OT] Borland Turbo
Hi! I was just reading the press release about the Borland Turbo products.. just started to download it (it's a lot!) but the Explore Edition is free (I think even for commercial apps) and I was wondering if anyone got their hands onto it before me! Any idea if the ICS will work with it? In case, you missed the release, this is the main website: http://www.turboexplorer.com/ and the release it at: http://bdn.borland.com/article/33658 Cheers Mohit. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
I'm really sad for Borland another chance stupidly wasted... who was the genius that creates the non-extensibility idioturbo model Only for programmers that likes to run in a closet -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Maurizio Lotauro Enviado el: Jueves, 07 de Septiembre de 2006 14:55 Para: ICS support mailing Asunto: Re: [twsocket] [OT] Borland Turbo Scrive Mohit Sindhwani [EMAIL PROTECTED]: Hi! I was just reading the press release about the Borland Turbo products.. just started to download it (it's a lot!) but the Explore Edition is free (I think even for commercial apps) and I was wondering if anyone got their hands onto it before me! Any idea if the ICS will work with it? The faq say that you can't add any thirdy party component to the explorer version, so I expected that the asnwer to your question is no. Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SMTPClient
You should, as it is done in the demo MailSnd, display the messages from the server and also check for errors. Reading the messages and errors, you'll understand what's going wrong. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: lalin [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, September 07, 2006 4:46 PM Subject: Re: [twsocket] SMTPClient Hello, No, I hadn't seen your answer. Thanks for response once. Now, I use the asynchronous model, when I send the mail, it executes this code: Smtp1.port := 'smtp'; Smtp1.FromName := name; Smtp1.HdrFrom := mail1; Smtp1.HdrTo:= destino; Smtp1.RcptName.add(destino); Smtp1.RcptName.add(mail2); Smtp1.HdrSubject := titulo; Smtp1.MailMessage := mensaje; if (not Smtp1.connected) then begin Smtp1.Connect; end; I have created a OnRequestDone method: Display('RequestDone Rq=' + IntToStr(Ord(RqType))); case RqType of smtpConnect: begin Smtp1.Helo; Display('Helo!'); end; smtpHelo: begin Smtp1.MailFrom; Display('Mailfrom!'); end; smtpMailFrom: begin Smtp1.RcptTo; Display('RcptTo!'); end; smtpRcptTo: begin Smtp1.Data; Display('Data!'); end; smtpData: begin Smtp1.Quit; Display('Quit!'); end; smtpQuit: Display('Done!'); end; The result is: RequestDone Rq=0 Helo! RequestDone Rq=1 Mailfrom! RequestDone Rq=2 RcptTo! RequestDone Rq=4 Data! RequestDone Rq=5 Quit! RequestDone Rq=6 Done! But the mail isn't received. I have tested the smtp server 127.0.0.1 and the domain in IIS console. What can it be? Regards. - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 06, 2006 6:08 PM Subject: Re: [twsocket] SMTPClient You already asked your question one week ago. Did you see my answer ? Here it is again: produces SMTP component not ready. Can you help me? As another message already said, you are trying to use an asynchronous (non-blocking) component as a synchronous component. Either revise you way of doing thing or use the sync version of the component. It is better to revise your programming model and use the asynchronous model. That is use the events. Look at MailSnd sample program delivered with ICS. Look at the code behind All In One button which show how to use the events to chain all operations required to send emails. Once you had a look at the sample, don't hesitate to ask for more questions. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: lalin [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 06, 2006 4:50 PM Subject: [twsocket] SMTPClient Hello, I use SMTPClient for sending a email since a server with default smtp server of IIS. The example program find this smtp server. But in my program, with this code: Smtp1.Host := smtpserver; Smtp1.port := 'smtp'; Smtp1.FromName := name; Smtp1.HdrFrom := mail1; Smtp1.HdrTo:= mail2; Smtp1.HdrSubject := title; Smtp1.Connect; Smtp1.Data; Smtp1.quit; produces SMTP component not ready. The first time that execute it, it connects but it fails in Data. The second time, it passes Connect and Data and it fails in Quit but I don't receive mail. I have tested with server 127.0.0.1 or localhost and it is the same. Can you help me? Regards. Carlos. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
If you think about it, the whole point of having the free version is to get people interested and get beginners started. Now they have to create the components by code ... wise decision :) [OT] I'm really sad for Borland another chance stupidly wasted... who was the genius that creates the non-extensibility idioturbo model Only for programmers that likes to run in a closet -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Maurizio Lotauro Enviado el: Jueves, 07 de Septiembre de 2006 14:55 Para: ICS support mailing Asunto: Re: [twsocket] [OT] Borland Turbo Scrive Mohit Sindhwani [EMAIL PROTECTED]: Hi! I was just reading the press release about the Borland Turbo products.. just started to download it (it's a lot!) but the Explore Edition is free (I think even for commercial apps) and I was wondering if anyone got their hands onto it before me! Any idea if the ICS will work with it? The faq say that you can't add any thirdy party component to the explorer version, so I expected that the asnwer to your question is no. Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
I'm really sad for Borland another chance stupidly wasted... who was the genius that creates the non-extensibility idioturbo model Only for programmers that likes to run in a closet There are two Turbo versions: Explorer and Pro. Explorer is free of charge but can't be extended with 3rd party components (you still CAN use 3rd party component but you have to create them at runtime. Not very diffiuclt !). Pro has not this limitation. It is the full BDS2006 with only one personnality. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
You can create the ICS components at run-time and set properties as needed. The only thing that usually causes problems is knowing event signatures. -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
Hi! I was just reading the press release about the Borland Turbo products.. just started to download it (it's a lot!) but the Explore Edition is free (I think even for commercial apps) and I was wondering if anyone got their hands onto it before me! Any idea if the ICS will work with it? The faq say that you can't add any thirdy party component to the explorer version, so I expected that the asnwer to your question is no. Actually the answer is yes. See my previous post. Turbo Pro will defenitely have no problem. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
Jack wrote: If you think about it, the whole point of having the free version is to get people interested and get beginners started. Now they have to create the components by code ... wise decision :) [OT] I agree with you. Especially the beginners use to use plenty of third party components, one of the reasons why Delphi became so popular has been always the huge amount of third perty components available. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
Hi! I was just reading the press release about the Borland Turbo products.. just started to download it (it's a lot!) but the Explore Edition is free (I think even for commercial apps) and I was wondering if anyone got their hands onto it before me! Any idea if the ICS will work with it? AFAIK the free Explorer version doesn't allow third party components being installed. Right. If you want to use 3rd party components, then you'll have to create it by code. ICS will work with Turbo Explorer since the compiler is the same as BDS2006. Creating component by code is not very difficult, specially for ICS since they are non visual component. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
That's amazing! An excellent tool for beginners that requires a (somewhat) deep knowledge only to use another set of components!! Who pays for those marketing guys?? Microsoft? Don't try the AI until u get ride of the NS!! -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Arno Garrels Enviado el: Jueves, 07 de Septiembre de 2006 16:11 Para: ICS support mailing Asunto: Re: [twsocket] [OT] Borland Turbo Jack wrote: If you think about it, the whole point of having the free version is to get people interested and get beginners started. Now they have to create the components by code ... wise decision :) [OT] I agree with you. Especially the beginners use to use plenty of third party components, one of the reasons why Delphi became so popular has been always the huge amount of third perty components available. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
That's amazing! An excellent tool for beginners that requires a (somewhat) deep knowledge only to use another set of components!! The beginners are not expected to be creating complex applications needing third party components with the 'free' version, they are expected to buy Turbo Professional, which is essentially the same price and concept as Delphi 6 and 7 Professional, before it got bloated with .net stuff and other languages as Borland Development Studio. Who pays for those marketing guys?? Microsoft? If you could create complex commercial applications with the 'free' version, few people would buy Delphi, and the marketing guys would not get paid. Borland only has it's tools revenue to survive. Microsoft hands out Express versions of it's .net tools, probably because it knows few people would otherwise buy them. It does not provide Win32 tools free. And of course it has a few billion dollars of OS revenue to subsidise these Express tools. Personally, I think Borland should have limited the 'free' version in the number of components on a form, or forms in a project, or similar, so that only simple applications can be created. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
Dear sir Beginners DON'T CREATE COMPLEX COMMERCIAL APPS You need freedom for create not artificial restrictions. Another tools like Trolltech QT have two licenses modes and two 'packages' But I'm afraid this is becoming a big offtopic so I'm done with it -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Angus Robertson - Magenta Systems Ltd Enviado el: Jueves, 07 de Septiembre de 2006 17:08 Para: twsocket@elists.org Asunto: Re: [twsocket] [OT] Borland Turbo That's amazing! An excellent tool for beginners that requires a (somewhat) deep knowledge only to use another set of components!! The beginners are not expected to be creating complex applications needing third party components with the 'free' version, they are expected to buy Turbo Professional, which is essentially the same price and concept as Delphi 6 and 7 Professional, before it got bloated with .net stuff and other languages as Borland Development Studio. Who pays for those marketing guys?? Microsoft? If you could create complex commercial applications with the 'free' version, few people would buy Delphi, and the marketing guys would not get paid. Borland only has it's tools revenue to survive. Microsoft hands out Express versions of it's .net tools, probably because it knows few people would otherwise buy them. It does not provide Win32 tools free. And of course it has a few billion dollars of OS revenue to subsidise these Express tools. Personally, I think Borland should have limited the 'free' version in the number of components on a form, or forms in a project, or similar, so that only simple applications can be created. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
I'm really sad for Borland another chance stupidly wasted... Who was the genius that creates the non-extensibility idioturbo model I totally disagree. This is an awesome *FREE* deal for people who want to start to develop their own apps, or create quick-and-dirty tools. The component set that is included with the free version is pretty comprehensive. It will let hobbyists get started with the languages and the UI, and then they can upgrade to the Pro version (which I believe will only cost around $300.00) to be able to add 3rd party components. For those of us that remember programming in Turbo Pascal 20 years ago, this is a return to their roots, and anyone who thinks they are stupid for offering a free development environment that is slick and produces pretty fast code probably isn't their target market. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [OT] Borland Turbo
I wonder why Overbyte does not give the ICS code to be included in the standard package? Borland will never package ICS in Delphi without proper documentation and a full and up to date help file, and that's as far off as ever. It should not even be on the companion disks without documentation. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] THttpServer Authentication
Hi, I am wondering anybody here can give an example on how to build a password protected web server using THttpServer. I tried to setup a basic authentication for THttpServer. But it seems that HttpServer1AuthGetPassword event always give an empty Password (I use ShowMessage(Password) in C++ Builder). Thanks! Wang -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be