简体   繁体   中英

Sentinel HASP returns NoApiDylib for 64bit DLL

Since my solution should be buildable for AnyCPU I had to choose the right Hasp DLL during runtime. This works quite nice with the proxy pattern. When I use the 32bit hasp_net_windows.dll everything works fine and I am able to login to the dongle successfully.

But while using the x64 DLL the hasp.Login(...) returns NoApiDylib. Seems like this is a problem regarding the HASP DLL or the communication to the USB Dongle. But I am not able to narrow it down.

Have you any ideas? Thanks in advance!

Please check that in your directory present those files:
1. hasp_windows_XXXXX.dll
2. hasp_windows_x64_XXXXX.dll
3. apidsp_windows.dll
4. apidsp_windows_x64.dll
5. hasp_net_windows.dll

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM