Re: Get handle of current logged on user?
From: chad (ceothrow1_at_gmail.com)
Date: 09/17/05
- Previous message: ulevanon_at_gmail.com: "Problems with signing a .dll for a browser add-on..."
- In reply to: Eric Perlin [MS]: "Re: Get handle of current logged on user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 17 Sep 2005 11:28:04 -0700
Ah, Ok Eric Perlin's suggestion will probably work. I had to do this
exact same thing in the past, and it sucked. What I did was the
following:
Enumerated all the processes on the machine
looked for all the instances of "explorer.exe" and "cmd.exe",
Checked the usernames associated with those processes.
My method gets all the users using the system (for example, if you've
done fast-user-switching an XP box), but it depends on microsoft
calling the shell explorer.exe.
- Previous message: ulevanon_at_gmail.com: "Problems with signing a .dll for a browser add-on..."
- In reply to: Eric Perlin [MS]: "Re: Get handle of current logged on user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|