LDK 7.5 – Build Error Occurs When Building the Sample With hasp_windows_delphi_.obj

Sentinel LDK provides a sample that demonstrates the use of Sentinel LDK Licensing API when using the Delphi 32-bit or 64-bit interface (COFF format).

When you build the sample using the hasp_windows_delphi_<vendorID>.obj file downloaded from Gemalto servers with the Sentinel Master Wizard, the following errors occur:

[Error] hasp_unit.pas(784): Unsatisfied forward or external declaration: ‘RtlUnwind’ [Fatal Error] hasp_demo.dpr(18): Could not compile used unit ‘hasp_unit.pas’


Add the following declaration in the hasp_unit.pas file:

procedure RtlUnwind; external kernel32 name ‘RtlUnwind’;