Re: How to add user control when logon to Vista?
- From: zhujiongmin@xxxxxxxxx
- Date: Mon, 10 Dec 2007 19:40:47 -0800 (PST)
On 12月7日, 下午8时07分, zhujiong...@xxxxxxxxx wrote:
Hi all,
I write a provider credential for Vista in which I want to display
a user face when user logon, that means we can use a face for
authentication, and user doesn't need to input password.
In my source code, I create a thread to display a dialog when user
selects a credential. There is user control in the dialog to display
user's face. In debugging, when user logon, the thread calls
CreateDialog() to create a modeless dialog, but it fails and returns
NULL, however, GetLastError() returns 0. If there is not user control,
or there is only MS control, CreateDialog() will succeed.
Further more, I test that dialog after login to Vista, and it can
be displayed normally. I wonder why the user control can't be used in
logon credential, and can be used after user login?
Have fun,
Jimmy
I verify it again, and find that even I replace the Control with
another user control which do nothing and display itself, the dialog
can't be create successfully. Does it mean any user control can't be
used when logon to Vista, or there is some specific compile options
for user control?
.
- References:
- How to add user control when logon to Vista?
- From: zhujiongmin
- How to add user control when logon to Vista?
- Prev by Date: RE: GetEffectiveRightsFromACL returns ERROR_INVALID_ACL
- Next by Date: Re: Message signing fails when used in a driver
- Previous by thread: How to add user control when logon to Vista?
- Next by thread: Windows Firewall - RemoteAdminSettings
- Index(es):
Relevant Pages
|
Loading