AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TService: OnShutdown feuert nicht

Ein Thema von bcvs · begonnen am 28. Okt 2020 · letzter Beitrag vom 30. Okt 2020
 
mensch72

Registriert seit: 6. Feb 2008
838 Beiträge
 
#11

AW: TService: OnShutdown feuert nicht

  Alt 30. Okt 2020, 09:59
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)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:58 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