Hello,
i try to decode date/time with Sentinel API by hasp_hasptime_to_datetime function. I'm working on Delphi XE8, with current libraries downloaded by Sentinel Master Wizard. I'm loging to the key, getting time with hasp_get_rtc function but when i try to decode date/time with hasp_hasptime_to_datetime procedure i get an error:
When i get time from sentinel LDK ToolBox (7.4) everythink is ok. From Master Wizard i get object files:
hasp_windows_delphi_XXXXX.obj
hasp_windows_delphi_demoma.obj
hasp_windows_delphixe_XXXXX.obj
hasp_windows_x64_delphixe_XXXXX.obj
With Delphi XE8 i using first one "hasp_windows_delphi_XXXXX.obj", but i think i should use "
hasp_windows_delphixe_XXXXX.obj" for Delphi XE line. Am i right? If so when i try to use "hasp_windows_delphixe_XXXXX.obj" i get errors when compile project:
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aulldiv'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__chkstk'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__beginthreadex'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wmkdir'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_sprintf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__alldiv'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_printf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fread'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wunlink'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strstr'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aullshr'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__chsize'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__errno'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strcspn'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isalpha'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isprint'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strncpy'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isxdigit'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wstat'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_malloc'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fflush'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__findclose'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wfindnext'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_mktime'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__snprintf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strtok'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__read'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__alldvrm'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wopen'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_ftell'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_abort'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: 'CreateFiberEx'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wfindfirst'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__localtime64'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__lseek'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_atoi'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wrmdir'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fwrite'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__write'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__allmul'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isdigit'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strftime'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aullrem'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_exit'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_toupper'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strspn'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fclose'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wremove'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wrename'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strchr'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aulldvrm'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_memmove'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strtoul'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strerror'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fseek'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__gmtime64'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__vsnprintf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wfopen'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strncmp'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isspace'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__close'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strncat'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_free'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_tolower'
[dcc32 Fatal Error] Check_Hasp.pas(88): F2063 Could not compile used unit 'hasp_unit.pas'
Failed
Elapsed time: 00:00:01.1
What i'm doing wrong and how can i reapair problem with converting time with hasp function?
i try to decode date/time with Sentinel API by hasp_hasptime_to_datetime function. I'm working on Delphi XE8, with current libraries downloaded by Sentinel Master Wizard. I'm loging to the key, getting time with hasp_get_rtc function but when i try to decode date/time with hasp_hasptime_to_datetime procedure i get an error:
When i get time from sentinel LDK ToolBox (7.4) everythink is ok. From Master Wizard i get object files:
hasp_windows_delphi_XXXXX.obj
hasp_windows_delphi_demoma.obj
hasp_windows_delphixe_XXXXX.obj
hasp_windows_x64_delphixe_XXXXX.obj
With Delphi XE8 i using first one "hasp_windows_delphi_XXXXX.obj", but i think i should use "
hasp_windows_delphixe_XXXXX.obj" for Delphi XE line. Am i right? If so when i try to use "hasp_windows_delphixe_XXXXX.obj" i get errors when compile project:
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aulldiv'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__chkstk'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__beginthreadex'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wmkdir'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_sprintf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__alldiv'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_printf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fread'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wunlink'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strstr'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aullshr'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__chsize'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__errno'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strcspn'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isalpha'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isprint'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strncpy'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isxdigit'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wstat'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_malloc'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fflush'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__findclose'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wfindnext'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_mktime'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__snprintf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strtok'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__read'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__alldvrm'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wopen'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_ftell'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_abort'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: 'CreateFiberEx'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wfindfirst'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__localtime64'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__lseek'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_atoi'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wrmdir'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fwrite'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__write'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__allmul'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isdigit'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strftime'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aullrem'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_exit'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_toupper'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strspn'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fclose'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wremove'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wrename'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strchr'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__aulldvrm'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_memmove'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strtoul'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strerror'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_fseek'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__gmtime64'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__vsnprintf'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__wfopen'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strncmp'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_isspace'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '__close'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_strncat'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_free'
[dcc32 Error] hasp_unit.pas(790): E2065 Unsatisfied forward or external declaration: '_tolower'
[dcc32 Fatal Error] Check_Hasp.pas(88): F2063 Could not compile used unit 'hasp_unit.pas'
Failed
Elapsed time: 00:00:01.1
What i'm doing wrong and how can i reapair problem with converting time with hasp function?