Click here to Skip to main content
15,793,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help Pin
leon de boer16-Apr-17 7:01
leon de boer16-Apr-17 7:01 
Question3D room source code Pin
Member 1312838214-Apr-17 4:33
Member 1312838214-Apr-17 4:33 
AnswerRe: 3D room source code Pin
ZurdoDev14-Apr-17 4:35
professionalZurdoDev14-Apr-17 4:35 
AnswerRe: 3D room source code Pin
Richard MacCutchan14-Apr-17 5:20
mveRichard MacCutchan14-Apr-17 5:20 
AnswerRe: 3D room source code Pin
Rick York17-Apr-17 6:41
mveRick York17-Apr-17 6:41 
Questionhow to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 2:34
professionalPremnath Mali14-Apr-17 2:34 
QuestionRe: how to configure bio metric sensor to creating private pool? Pin
Richard MacCutchan14-Apr-17 3:45
mveRichard MacCutchan14-Apr-17 3:45 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 18:55
professionalPremnath Mali14-Apr-17 18: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 23:12
mveRichard MacCutchan14-Apr-17 23:12 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali15-Apr-17 0:36
professionalPremnath Mali15-Apr-17 0:36 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Richard MacCutchan15-Apr-17 0:51
mveRichard MacCutchan15-Apr-17 0:51 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 1:40
professionalPremnath Mali19-Apr-17 1:40 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 1:40
professionalPremnath Mali19-Apr-17 1:40 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
ZurdoDev14-Apr-17 4:36
professionalZurdoDev14-Apr-17 4:36 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali14-Apr-17 18:56
professionalPremnath Mali14-Apr-17 18:56 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer15-Apr-17 9:42
leon de boer15-Apr-17 9:42 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer15-Apr-17 9:26
leon de boer15-Apr-17 9:26 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali15-Apr-17 21:26
professionalPremnath Mali15-Apr-17 21:26 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer16-Apr-17 0:31
leon de boer16-Apr-17 0:31 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali16-Apr-17 18:52
professionalPremnath Mali16-Apr-17 18:52 
GeneralRe: how to configure bio metric sensor to creating private pool? Pin
leon de boer17-Apr-17 17:55
leon de boer17-Apr-17 17:55 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 1:45
professionalPremnath Mali19-Apr-17 1:45 
Questioncalling vb ocx in 64 bit envirnoment Pin
Member 1267792613-Apr-17 5:23
Member 1267792613-Apr-17 5:23 
AnswerRe: calling vb ocx in 64 bit envirnoment Pin
Richard Andrew x6414-Apr-17 3:18
professionalRichard Andrew x6414-Apr-17 3:18 
QuestionGeneric algorithm question Pin
Ashish Ranjan Mishra12-Apr-17 21:26
Ashish Ranjan Mishra12-Apr-17 21: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.