David,
>George.
>
>>Oh I know. In fact, the best way might be done with C++, and all it does is sit around and wait to process the Windows shutdown message.
>
>It could easily spawn DD's task to log the shutdown event.
I have a friend who is doing a little contract work for us. I may see what he thinks about this.
>
>Speaking of that doesn't NT/W2k have an event log file that could be read by his startup app?
>
>>Of course, if it's Win2K, a really off-the-wall idea might be to check the last access date/time of the sound file associated with the shut down event. Of course, if someone doesn't want a sound associated with that event, that idea is out the "Window"< bg > Besides, I don't for certain know if Windows actually modifies that value, but it would seem a good assumption.
I may just write an entry into a couple of Registry entries. One for last startup and a refreshed value, say every 10-15 minutes (granularity at this level is ok), and then query them when I startup/login. That will give me what I want but I want a completely low profile here.
Best,
DD
A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.