leon123
Hi,
(1). I really call CSampleCredential::Initialize(...), and global variable "CSampleCredential *_pCredential;" is not NULL.
(2). I initalize the reference passed in GetSerialization( ), and GetSerialization( ) is really called and successful but nothing happened.
But SetSelected( ) is not even called.
(3). Except autologon issue, this CredentialProvider works well ( it is sample code of MS, "RTMCredentialProviderSamples__FINAL" version, and I use "SampleCredentialProvider" project). And the biggest problem I met is how to autologon.
(4). Thank you for your code, I have modified the weak references problem.
(5). I know this flow diagram, but I have a question that confuses me. In this flow diagram, all function ( in Credential or CredentailProvider) are called by LogonUI, if we create a thread to call any function, is its performance just like LogonUI calling It is like that we create many different blocks(it is like our function), and LogonUI picks what he wants and to combine something. But there is another one(our thread) to do the same action, will it take the same performance But in your blog says, it really works.
(6). I don't understand "model" and "logic" means. I very afraid of missing some steps. But I am not sure what I miss.
Thanks for your help and patience again.