Hi Kambiz
I use fingerprint Futronic FS80 but don't have sample for Delphi.
I convert VB.NET to Delphi
Sample VB.NET Source code
//*******************************
Dim Template()
As Byte While Not UserFinRec.EOF
ReDim Template(UserFinRec(
"fTemplate").ActualSize)
Template = UserFinRec(
"fTemplate").Value
'Add finger from database to identify (1-N) ScanerCtrl1.AddIdentifyDB(Template, UserFinRec(
"uName").Value)
UserFinRec.MoveNext()
End While//*******************************
Question I can't add data from blobfield to byterec : PSafeArray in this function.
function TScanerCtrl.AddIdentifyDB(var byteRec: PSafeArray; const strKey: WideString): WordBool;
begin Result := DefaultInterface.AddIdentifyDB(byteRec, strKey);
end;
//********************************
My Source Code
varName: WideString;
BlobStream: TStream;
Template : PSafeArray;
beginName := FingerRec.FieldByName(
'f_name').AsWideString;
BlobStream := FingerRec.CreateBlobStream(FingerRec.FieldByName(
'f_template'), bmRead);
// Convert BlobStream to Template
ScanerCtrl1.AddIdentifyDB(Template, Name);
end;Thank , for the answer.
psomkuan.