Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 26055, Suport with CreateOleObject

by Baruc Baptista Email: Anonymous


Using CreateOleObject in C++ Builder, work COM Obj
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 5.0  to 5.0 59 downloads
Copyright: No significant restrictions


Size: 8,837 bytes
Updated on Fri, 12 Sep 2008 14:36:03 GMT
Originally uploaded on Fri, 12 Sep 2008 14:28:25 GMT
SHA1 Hash: BCC38189C73327629422FA77FC46547AABC0D3EB
MD5 Hash: 10C8DD98EC4A8D2CA4DC889A60AC25F2

    Explore the files in this upload

Description
Hi guys.
I work with C++Builder and I install a COM Delphi in project.

I dont understand this erro in souce code:

objNBioBSP = CreateOleObject("NBioBSPCOM.NBioBSP");
objDevice = objNBioBSP.Device;
objExtraction = objNBioBSP.Extraction;
objMatching = objNBioBSP.Matching;
objIndexSearch = objNBioBSP.IndexSearch;

String str = "";
Edit3->Text = "";

objExtraction.WindowStyle = NBioAPI_WINDOW_STYLE_INVISIBLE;
objExtraction.FingerWnd = Form1->Panel1->Handle;
objExtraction.DefaultTimeout = 5000;

objDevice.Open(NBioAPI_DEVICE_ID_AUTO_DETECT) ;
if (objDevice.ErrorCode != NBioAPIERROR_NONE)
{
str = objDevice.ErrorDescription;
return;
}
objDevice.Open(255);
objExtraction.Capture();
Edit3->Text = objExtraction.TextEncodeFIR;

objMatching.VerifyMatch(Edit2->Text,objExtraction.TextEncodeFIR);
objDevice.Close(255);
if (objMatching.MatchingResult == NBioAPI_TRUE)
{
ShowMessage("OK !");
}
else
{
ShowMessage("ERROR !")
}


But, the error variable create for Variant, not member class.
I need help.
Thank you.
Baruc

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03