Autor Beitrag
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Fr 10.02.06 21:19 
Hallo :wave: ,

weiß jemand, wie mein Programm benachrichtigt werden kann, wenn der Computer gesperrt wird?
Gibt's dazu ne Message, oder ist das gar nicht möglich?

Danke.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 10.02.06 23:22 
Eine Notify-Message wäre mir nicht bekannt. Schau evtl. mal im MSDN bei Suche im MSDN NOTIFY LOCK WORKSTATION. Vielleicht sagt Microsoft zu dem Thema was.

Ansonsten bleibt die klassische Möglichkeit: Mach nen Hook auf die entsprechende API *g* Funzt aber nur, wenn Du mindestens Admin- oder Debug-Rechte auf jeden Prozess bekommst, der das auslösen könnte.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Chryzler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Sa 11.02.06 12:19 
Hab's nach längerem rumprobieren doch gelöst (per Message): KLICK
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 11.02.06 13:56 
Und was machst du mit Windows2000 und was machst du wenn nur der Benutzer gewechselt, der Rechner aber nicht gesperrt wird?
Chryzler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Sa 11.02.06 15:43 
Da das Prog sowiso nur für meinen Gebrauch ist, und ich keinen anderen Benutzer und kein Windows 2000 habe, dürfte das wohl wenig ausmachen.