How to add user control when logon to Vista?
- From: zhujiongmin@xxxxxxxxx
- Date: Fri, 7 Dec 2007 04:07:50 -0800 (PST)
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
.
- Follow-Ups:
- Re: How to add user control when logon to Vista?
- From: zhujiongmin
- Re: How to add user control when logon to Vista?
- Prev by Date: Re: Crypto problems in Vista
- Next by Date: RE: Creating Diffie-Hellman key exchange with known parameters
- Previous by thread: Resource leak: TOKEN handle
- Next by thread: Re: How to add user control when logon to Vista?
- Index(es):
Relevant Pages
|
Loading