PDA

View Full Version : Determining Logged In State



TheGrimace
17th October 2007, 16:18
I am getting ready to use QService for running a program, but I don't want the GUI to display unless someone is logged into the machine. I was wondering if there is a mechanism for determining the state of the computer? Specifically whether or not a user is logged in.

Thank You

wysota
20th October 2007, 23:53
I don't think Qt has such a mechanism. You'll have to dive into WinAPI and search there.

TheGrimace
22nd October 2007, 16:40
:eek: Great Googly Moogly!

Thank You For the Response. :)