Results 1 to 3 of 3

Thread: Determining Logged In State

  1. #1
    Join Date
    May 2007
    Posts
    90
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    40

    Post Determining Logged In State

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Determining Logged In State

    I don't think Qt has such a mechanism. You'll have to dive into WinAPI and search there.

  3. The following user says thank you to wysota for this useful post:

    TheGrimace (22nd October 2007)

  4. #3
    Join Date
    May 2007
    Posts
    90
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    40

    Default Re: Determining Logged In State

    Great Googly Moogly!

    Thank You For the Response.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.