To compile emulator:
1. Change path in files "chk make.bat", "free make.bat" in
this lines:
set SRC_DRIVE=C:
set SRC_PATH=22\bus
set DDK_PATH=D:\WINDDK\2600.1106
, where SRC_DRIVE - disk drive letter, where sources are located
SRC_PATH - path to .\bus directory,
DDK_PATH - path to Windows XP DDK directory.
2. Execute
"chk make.bat" for make debug build or
"free make.bat" for make release build.
3. For device driver installation execute
"chk install.bat" to install debug build or
"free install.bat" to install release build of driver.
On run driver once scan registry key
\Registry\MACHINE\System\CurrentControlSet\Services\Emulator\HASP\Dump
, read dumps of all keys and create virtual USB-keys for each dump.
For success execution of this phase you _need_ to have already
Aladdin HASP device driver installed.
4. For "unplug" all virtual USB-keys you can execute file
"unplug all.bat", which call enum.exe to do this task.
With help of last program you can not only "unplug" keys,
but also "plug" it, see .\Controller\enum.exe /?.
in the general case for rebuilding list of avalible USB-keys according
to registry state you can restart driver (see p. 3) or use
enum.exe utility (see p. 4).
Emulator installation:
1. To install emulator you need 3 files:
.\Inf\vusbbus.cat
.\Inf\vusbbus.inf
.\Inf\VUsbBus.sys
, منه VUsbBus.sys - compiled from sources driver.
You can install this driver in two ways:
1. First method:
3.1. Run\Settings\Control panel\Device installation
3.2. Yes, device is already connected
3.3. Add new device
3.4. Install device from list manually
3.5. System devices
3.6. Install from a disk...\Browse...
3.7. Locate .\Inf directory, then "خê".
2. Second method: add to .\Inf directory file devcon.exe
and .bat-files with this content:
Install.bat:
@echo off
devcon remove root\vusbbus
devcon install vusbbus.inf root\vusbbus
Sorry, why you write HASP SRM source code. This files are from 2004, and are floating around since a long time. At that time there dont even exist HaspSRM.
Its the source code for HaspHL only.
Sorry, why you write HASP SRM source code. This files are from 2004, and are floating around since a long time. At that time there dont even exist HaspSRM.
Its the source code for HaspHL only.
Not much difference between srm emul and HL emul
if you understanding this source code can use for srm
ok
I have one question about this source code: Is there anyone who has checked if it works? Even just for HASP HL. I ask this because in the file EncDecSim.cpp exists this:
Hi friend,
Did you now haw to uninstall these virtual devices?
Please show the following picture.
Thanks in advance.
Originally Posted by hp3hp3
To compile emulator:
1. Change path in files "chk make.bat", "free make.bat" in
this lines:
set SRC_DRIVE=C:
set SRC_PATH=22\bus
set DDK_PATH=D:\WINDDK\2600.1106
, where SRC_DRIVE - disk drive letter, where sources are located
SRC_PATH - path to .\bus directory,
DDK_PATH - path to Windows XP DDK directory.
2. Execute
"chk make.bat" for make debug build or
"free make.bat" for make release build.
3. For device driver installation execute
"chk install.bat" to install debug build or
"free install.bat" to install release build of driver.
On run driver once scan registry key
\Registry\MACHINE\System\CurrentControlSet\Services\Emulator\HASP\Dump
, read dumps of all keys and create virtual USB-keys for each dump.
For success execution of this phase you _need_ to have already
Aladdin HASP device driver installed.
4. For "unplug" all virtual USB-keys you can execute file
"unplug all.bat", which call enum.exe to do this task.
With help of last program you can not only "unplug" keys,
but also "plug" it, see .\Controller\enum.exe /?.
in the general case for rebuilding list of avalible USB-keys according
to registry state you can restart driver (see p. 3) or use
enum.exe utility (see p. 4).
Emulator installation:
1. To install emulator you need 3 files:
.\Inf\vusbbus.cat
.\Inf\vusbbus.inf
.\Inf\VUsbBus.sys
, منه VUsbBus.sys - compiled from sources driver.
You can install this driver in two ways:
1. First method:
3.1. Run\Settings\Control panel\Device installation
3.2. Yes, device is already connected
3.3. Add new device
3.4. Install device from list manually
3.5. System devices
3.6. Install from a disk...\Browse...
3.7. Locate .\Inf directory, then "خê".
2. Second method: add to .\Inf directory file devcon.exe
and .bat-files with this content:
Install.bat:
@echo off
devcon remove root\vusbbus
devcon install vusbbus.inf root\vusbbus
Bookmarks