HASP4 hardware key on LPT port doesn't work
Posted: 16. Oct 2017, 21:04
Hi all.
I use an old software protected with HASP4 hardware key to be installed on LPT port. OS must be Windows 32-bit, bacause newer HASP drivers for 64-bit systems cannot support this old piece of hardware (and an old software for 32-bit systems cannot be installed on 64-bit machine).
To override the problem I use Oracle VM 32-bit Windows XP guest with 64-bit Windows 7 as a host. To use LPT port I set:
VBoxManage modifyvm XP --lptmode1 LPT1
VBoxManage modifyvm XP --lpt1 0x378 7
where:
XP - name of my VM
LPT1 - the number of LPT port on host
0x378 - the address of LPT on the host (0378)
7 - IRQ of the LPT on the host
Then I install 32-bit key software on the guest - and this works.
Last time I had to clone VM to another machine. I imported VM. Then I set above commands (with proper address, IRQ etc. - no error messages). Then installed hardware key software.
VM starts, but the program which uses hardware key says "no hardware key". I tried different things. The problem is I haven't got any device to check if the LPT port is operational, although it is mounted directly on a mainboard (not in a PCIe slot etc.) - so I think it is operational. No other device (like printer) uses this LPT port.
Could anybody help me please? LPT is set as an EPC.
Best regards
Maciej
I use an old software protected with HASP4 hardware key to be installed on LPT port. OS must be Windows 32-bit, bacause newer HASP drivers for 64-bit systems cannot support this old piece of hardware (and an old software for 32-bit systems cannot be installed on 64-bit machine).
To override the problem I use Oracle VM 32-bit Windows XP guest with 64-bit Windows 7 as a host. To use LPT port I set:
VBoxManage modifyvm XP --lptmode1 LPT1
VBoxManage modifyvm XP --lpt1 0x378 7
where:
XP - name of my VM
LPT1 - the number of LPT port on host
0x378 - the address of LPT on the host (0378)
7 - IRQ of the LPT on the host
Then I install 32-bit key software on the guest - and this works.
Last time I had to clone VM to another machine. I imported VM. Then I set above commands (with proper address, IRQ etc. - no error messages). Then installed hardware key software.
VM starts, but the program which uses hardware key says "no hardware key". I tried different things. The problem is I haven't got any device to check if the LPT port is operational, although it is mounted directly on a mainboard (not in a PCIe slot etc.) - so I think it is operational. No other device (like printer) uses this LPT port.
Could anybody help me please? LPT is set as an EPC.
Best regards
Maciej