----- Original Message ----- From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Sunday, April 01, 2007 10:11 AM Subject: Re: [twsocket] How does standby/hibernate affect sockets/ICScomponents?
> Fastream Technologies wrote: >> Hello, >> >> Yes, the question is whether they would have any effect on state >> machines.. For example, let's say a socket is connected. For example >> a THttpConnection. What would happen if windows is standby'd? > > I can't tell you exactly what will happen, but I would trap > WM_POWERBROADCAST messages and clean up before windows goes > to sleep, there's also a message broadcasted on wakeup. > You can even deny PBT_APMQUERYSUSPEND. > > If that is a service application you may want to check my > enhanced Delphi service framework, downloadable here: > http://www.duodata.de/misc/delphi/DDSvc20070603.zip > It has an built-in Power event. Does this work with BCB2006 as well? Regards, SZ > > -- > 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