Tech Support > Microsoft Windows > Development Resources > Multiple users Logged ..Correct notification!!
Multiple users Logged ..Correct notification!!
Posted by sunny on August 31st, 2004


Hi All,
I have a system wide servce that has only one instance running.
on WinxP there can be multiple users logged on simultaneously.
The problem is that who ever logs on first on the system gets the
notifications while the rest of the users dont get it.

how do we determine who is the currently active user and how is a
Dialog Box popped up to the correct user.

Any help would be highly appreciated.
Sunny.

Posted by Tim Robinson on August 31st, 2004


sunny wrote:
You should run one instance of your application in each logon session. A
program started in one session cannot create windows in another session.

--
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/