Mandi! cleitet at gmail.com In chel di` si favelave... > Hi, i'd like to implement this feature if I knew how Ferro Backup did that. . . Ferro Backup it is not open source, so there's no way to look at the code. But googling around lead to: http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.onshutdown.aspx http://blogs.msdn.com/b/bclteam/archive/2007/11/01/change-in-system-serviceprocess-shutdown-is-coming-in-3-5-rtm-inbar-gazit.aspx so seems that effectively now on shutdown windows calls Stop() if OnShutdown() are not defined. Still there's all the trouble around shutdown timeout and the visual feedback to the user. For the firstm, i suspect that some timeout was added (eg, look at http://ezinearticles.com/?My-Windows-7-Is-Slow---Learn-Tricks-If-Your-Windows-7-Is-Slow&id=5696200). For the visual feedback, i don't know if it was related to: http://msdn.microsoft.com/en-us/library/ms700677%28VS.85%29.aspx (but i suspect no). They put a custom wininit.exe.mui?! Boh... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) |