I am trying to add reference to my Delphi Prism project for HASP HL. So, I can communicate with the USB HASP HL dongle.
After the initial set up, I couldn't get my program to communicate with the USB HASP HL dongle. So, I watched a youtube tutorial video by SafeNet or Alladdin and followed their instruction to the teeth exactly, but I ran into another problem, which I can't seem to figure out.
As part of the HASP HL dongle setup, I am supposed to add reference for hasp_net_demo.dll to my project. Everytime I try to do that, I keep getting this error, Operation is not valid due to the current state of the object, and it won't let me add the reference. I learned that along with hasp_net_window.dll reference you also need to add reference to hasp_net_demo.dll, because it has the actual namespace and class to communicate with your HASP HL dongle.
So, what can I do at this point? or What options do I have?
Please, help. I have been looking at this problem for the last 3 months on and off and still can't find a solution.
Thanks in advance,