credential provider: 64 bit anomaly

D

dmm

My credential provider was compiled & linked as a 32 bit program. It
executes without error on vista x32.

I compiled & linked the same source code as a 64 bit program. It does not
successfully execute on vista x64. The object's "Advise" function is never
called and the object is unloaded. A partial trace of the sequence is as
follows:

ENTER CCSampleProvider::GetCredentialCount
EXIT CCSampleProvider::GetCredentialCount
ENTER CCSampleProvider::GetCredentialAt
EXIT CCSampleProvider::GetCredentialAt
ENTER CCSampleProvider::GetFieldDescriptorCount
EXIT CCSampleProvider::GetFieldDescriptorCount
ENTER CCSampleProvider::GetFieldDescriptorAt
EXIT CCSampleProvider::GetFieldDescriptorAt
ENTER CCSampleProvider::GetFieldDescriptorAt
EXIT CCSampleProvider::GetFieldDescriptorAt
ENTER CSampleCredential::GetBitmapValue
EXIT CSampleCredential::GetBitmapValue < hr=0 >
ENTER CSampleCredential::GetFieldState
EXIT CSampleCredential::GetFieldState < hr=0 >
ENTER CSampleCredential::GetStringValue < fieldID=1 >
EXIT CSampleCredential::GetStringValue < str=abc hr=0 >
ENTER CSampleCredential::GetFieldState
EXIT CSampleCredential::GetFieldState < hr=0 >
--- !!! CSampleCredential::Advise should be called at this juncture !!! ---
CP-DLL DllMain.DLL < DLL_PROCESS_DETACH threadID=3d4 >

Any ideas why "Advise" is not invoked?

Thanks
dmm
 
D

Derek

I also have the same problem yesterday,but I solve this problem by create a
new system account, I don't know the real reason now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top