|
@@ -3,6 +3,7 @@
|
|
|
#include "FingerPrint_UserErrorCode.h"
|
|
|
#include "GetDevInfoHelper.h"
|
|
|
#include "path.h"
|
|
|
+#include "DevEntityCommBase.hpp"
|
|
|
|
|
|
#define FINGERPRINT_SCAN_TIMEOUT 15000
|
|
|
#define FINGERPRINT_SCAN_INTERNAL 100
|
|
@@ -193,8 +194,12 @@ ErrorCodeEnum CFingerPrintFSM::OnInit()
|
|
|
ErrorCodeEnum err;
|
|
|
m_pFingerPrint = NULL;
|
|
|
bool bCreateDevCom = false;
|
|
|
+
|
|
|
CSimpleStringA dllName;
|
|
|
- ErrorCodeEnum errDev = SpGetDevAdaptorPath(m_pEntity, GetEntityBase()->GetEntityName(), dllName);
|
|
|
+ CDevAdptEntityBase *pEntity = GET_DEV_ENTITY_BASE_POINTER();
|
|
|
+ ErrorCodeEnum errDev = pEntity->ExtractVendorLibFullPath(dllName);
|
|
|
+ Dbg("Extract Vendor lib name: %s", (const char*)dllName);
|
|
|
+
|
|
|
if (errDev != Error_Succeed)
|
|
|
{
|
|
|
Dbg("Get vendor dll(%s) name failed.", (const char*)dllName);
|