Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

Re : Delphi API error on hasp_hasptime_to_datetime

$
0
0
Hi,

Please modify your hasp_unit.pas file with the following changes-
-> Look for line number 750      :       {$L hasp_windows_delphi_xxxxxx.obj }
-> Change it to this                  :       {$L hasp_windows_delphixe_xxxxxx.obj }

This should fix the " E2065 Unsatisfied forward or external declaration" error with " hasp_windows_delphixe_xxxxxx.obj".


Regarding the access violation error for time function, add the following code snippet in hasp_unit.pas file-
  1. $IFDEF WIN32}
  2. FUNCTION _FileTimeToSystemTime(const lpFileTime:TFileTime;var lpSystemTime:TSystemTime):BOOL;stdcall;
  3.  begin
  4.  result := FileTimeToSystemTime(lpFileTime,lpSystemTime);
  5.  end;
  6.  {$ENDIF}
Now recompile the application. 

If you still face any issue, please contact us over the email at Support@SafeNet-Inc.com for further investigation.

Thanks,
Ashish



Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>