logoff gives error 1073 and stops (event viewer,System log shows e

G

Guest

I have a service which runs an application that presents a GUI. The service
runs outside of the user environment (it runs whether a user is logged on or
not).

The application displays windows on the users desktop, and has an icon on
the system tray.

After a reboot, I can logoff once successfully, then subsequent logoff
attempts do not seem to do anything.

Looking in the event viewer under system logs shows a warning from USER32
with event number 1073, with the user name of SYSTEM, and my computer name.

There is no documentation at Microsoft about what causes the error 1073, and
how to prevent it. I am assuming there is some resource on the desktop that
the GUI app has open that needs to be released before the logoff can be
processed.

I have registered my GUI app to receive the session change messages (which
it does) from windows/XP (SP1), but need to figure out what resource to
close/release...

I have put in some logging, and when the logoff fails to do anything, it is
before my GUI app receives any logoff notification (meaning, I do not see any
evidence that my GUI app received the logoff notification when the error 1073
occurs)...

According to the documentation I should only have to register for the
session change messages once...

Any help would be appreciated...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top