[twsocket] ICS application with TrayIcon

2009-01-18 Thread Paul
Every TrayIcon I know (including Delphi's) uses Application.ProcesMessages somwhere. Anyone have had troubles with it in an ICS application? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] ICS application with TrayIcon

2009-01-18 Thread A.Drent
I'm using it with the sample of Wilfrid Mestdagh (.biz) to allow a service application to work as a desktop app ass well. It works w.o. any problems. albert On Sun, 18 Jan 2009 11:27:12 +0100 "Paul" wrote: > Every TrayIcon I know (including Delphi's) uses >Application.ProcesMessages > somw

Re: [twsocket] ICS application with TrayIcon

2009-01-18 Thread Wilfried Mestdagh
Hello Paul, No this is not needed in a tray icon because it can use the notification from windows. You find one on my site. Of course when you popup a menu if click on it then it processes messages but this is NOT from within an event from an ICS component so no harm. --- Rgds, Wilfried [TeamICS

Re: [twsocket] ICS application with TrayIcon

2009-01-18 Thread Paul
Thanks all. In the past, Ive used TCoolTrayIcon because I also needed it to show balloonhints. I just removed Application.Processmessages from the source to be sure. It added about 35 kB to the .exe size though and this application needs to be as small as possible. (I even plan to use KOL compon

[twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Arno Garrels
Hi All, Would it be bad design if I add an async method "CalcMsgSize" to TSmtpCli which would use a new request type "smtpCalcSize" and trigger OnRequestDone when finished? CalcMsgSize would set a new public read/write property "MessageSize". I also would like to trigger OnRequestDone with a new

Re: [twsocket] THttpCli digest and basic authentication

2009-01-18 Thread Arno Garrels
Maurizio Lotauro wrote: > About the merge, I suggest to done it just to be a bit confident with > the new authentication handling. But not make it "official" for the > moment since I want to change it and this will certainly mean that > some classes, events an so on will be different, introducing

Re: [twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Francois PIETTE
> Would it be bad design if I add an async method "CalcMsgSize" to TSmtpCli Good idea. Could also be implemented as a simple event. If the event is assigned, the computation is done and then event handler is called with the computation result as argument. > I also would like to trigger OnReques

Re: [twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Arno Garrels
Francois PIETTE wrote: >> Would it be bad design if I add an async method "CalcMsgSize" to >> TSmtpCli > > Good idea. > Could also be implemented as a simple event. If the event is > assigned, the computation is done and then event handler is called > with the computation result as argument. Bac

Re: [twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Francois PIETTE
OK. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Arno Garrels" To: "ICS support mailing" Sent: Sunday, January 18, 2009 6:45 PM Subjec

Re: [twsocket] THttpCli digest and basic authentication

2009-01-18 Thread Maurizio Lotauro
Scrive Arno Garrels : > Maurizio Lotauro wrote: [...] > So I think I'll wait for your latest changes? Yes, probably at this point it is better to wait. But if you have time give a look in the code, particularly to HttpAuthNTLM to get an idea how implement the Digest authentication class. So I c