문제

I am programming in VS2010 and Windows 7.

I am calling the WinBioOpenSession function from winbio.h

This is my code:

WINBIO_SESSION_HANDLE sessionHandle = NULL;

hr = WinBioOpenSession( 
            WINBIO_TYPE_FINGERPRINT,    
            WINBIO_POOL_SYSTEM,         
            WINBIO_FLAG_RAW,            
            NULL,                      
            0,                          
            WINBIO_DB_DEFAULT,          
            &sessionHandle             
            );

hr returns E_ACCESSDENIED return code?

How can I resolve this?

도움이 되었습니까?

해결책

The problem is that you didn't check the biometric logon option. Go to the Biometric option of the Control Panel and enable the biometric logon option.

다른 팁

Run the Visual Studio as an Administrator.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top