Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help Pin
leon de boer16-Apr-17 6:01
leon de boer16-Apr-17 6:01 
Question3D room source code Pin
Member 1312838214-Apr-17 3:33
Member 1312838214-Apr-17 3:33 
AnswerRe: 3D room source code Pin
ZurdoDev14-Apr-17 3:35
professionalZurdoDev14-Apr-17 3:35 
AnswerRe: 3D room source code Pin
Richard MacCutchan14-Apr-17 4:20
mveRichard MacCutchan14-Apr-17 4:20 
AnswerRe: 3D room source code Pin
Rick York17-Apr-17 5:41
mveRick York17-Apr-17 5:41 
Questionhow to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 1:34
professionalPremnath Mali14-Apr-17 1:34 
QuestionRe: how to configure bio metric sensor to creating private pool? Pin
Richard MacCutchan14-Apr-17 2:45
mveRichard MacCutchan14-Apr-17 2:45 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 17:55
professionalPremnath Mali14-Apr-17 17:55 
This is what I tried... please help
BOOL CPrivatePoolBioDlg::EnrollFingerprint()
{
    WINBIO_UNIT_SCHEMA *unitSchemaArray = NULL;
    SIZE_T unitSchemaCount = 0;

    WINBIO_UNIT_ID unitIdArray[1]={};
    SIZE_T unitIdCount = ARRAYSIZE(unitIdArray);

    WINBIO_SESSION_HANDLE sessionHandle;

    HRESULT hr; // = S_OK;

   //Enumarating devices...
   hr = WinBioEnumBiometricUnits(WINBIO_TYPE_FINGERPRINT,&unitSchemaArray,&unitSchemaCount);

   if(FAILED(hr))
   {
        CString m;
        m.Format(_T("Unable to Enumarate Device 0x%08x"),hr);
        AfxMessageBox(m);
        return 0;
   }
   //Enumaration Success...
   unitIdArray[0] = unitSchemaArray[0].UnitId;

   //Opening the session...
   hr = WinBioOpenSession(WINBIO_TYPE_FINGERPRINT,WINBIO_POOL_PRIVATE,WINBIO_FLAG_BASIC,            
                unitIdArray,unitIdCount,&PRIVATE_POOL_DATABASE_ID,&sessionHandle);
   if(FAILED(hr))
   {
    ///////////////////////HERE FUNCTION IS RETURNING WINBIO_E_CONFIGURATION_FAILURE////////////////////
        CString m;
        m.Format(_T("Unable to Start session 0x%08x, %d"),hr, GetLastError());
        AfxMessageBox(m);
        return 0;
   }

   //Session opened...
   WinBioCloseSession(sessionHandle);
   return 1;
}

GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Richard MacCutchan14-Apr-17 22:12
mveRichard MacCutchan14-Apr-17 22:12 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 23:36
professionalPremnath Mali14-Apr-17 23:36 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Richard MacCutchan14-Apr-17 23:51
mveRichard MacCutchan14-Apr-17 23:51 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 0:40
professionalPremnath Mali19-Apr-17 0:40 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 0:40
professionalPremnath Mali19-Apr-17 0:40 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
ZurdoDev14-Apr-17 3:36
professionalZurdoDev14-Apr-17 3:36 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 17:56
professionalPremnath Mali14-Apr-17 17:56 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer15-Apr-17 8:42
leon de boer15-Apr-17 8:42 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer15-Apr-17 8:26
leon de boer15-Apr-17 8:26 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali15-Apr-17 20:26
professionalPremnath Mali15-Apr-17 20:26 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer15-Apr-17 23:31
leon de boer15-Apr-17 23:31 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali16-Apr-17 17:52
professionalPremnath Mali16-Apr-17 17:52 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer17-Apr-17 16:55
leon de boer17-Apr-17 16:55 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 0:45
professionalPremnath Mali19-Apr-17 0:45 
Questioncalling vb ocx in 64 bit envirnoment Pin
Member 1267792613-Apr-17 4:23
Member 1267792613-Apr-17 4:23 
AnswerRe: calling vb ocx in 64 bit envirnoment Pin
Richard Andrew x6414-Apr-17 2:18
professionalRichard Andrew x6414-Apr-17 2:18 
QuestionGeneric algorithm question Pin
Ashish Ranjan Mishra12-Apr-17 20:26
Ashish Ranjan Mishra12-Apr-17 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.