AW: TService: OnShutdown feuert nicht
Folgender Weg ist "FastBoot" kompatibel und ermöglichte eine ServiceOnly Lösung ohne App im Infotray.
https://docs.microsoft.com/en-us/win...s-in-a-service ..."Receiving Events in a Service A service that is a console application can register a console control handler to receive notification when a user logs off. However, there is no console event sent when an interactive user logs on. For information on receiving notification when a user logs on, see Creating a Winlogon Notification Package."... So wäre das "Shutdown-Signal" Problem sauber gelöst. Dort steht im weiteren auch der Weg, wie ein Service ein UserLogin mitbekommen kann. (z.B. wenn ohne zusätzliche User-AutostartApp ein Service erst/nur aktiv werden soll, wenn ein User eingelogt ist) |
AW: TService: OnShutdown feuert nicht
Danke für eure Tips.
Zitat:
Zitat:
Das ist mir momentan zu kompliziert. Mit der App im Infotray kann ich mittlerweile ganz gut leben. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:25 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz