- Green versionCheck
- Green versionCheck
- Green versionCheck
- Green versionCheck
Instructions for use
Run SoftDogInstdrv.exe and click the install button to install the driver. The program can automatically identify the operating system and prompt the installation status. Software developers not only need to install the device driver when encrypting, but also when publishing software, they should also install the corresponding device driver according to the end user's operating system. If you need to uninstall the dog driver, you can run SoftDogInstdrv.exe and click the uninstall button to uninstall the driver. The software can automatically identify the current environment and complete the uninstallation of the driver.
Software description
At the same time, SoftDogInstdrv.exe supports command line parameters. The command line parameters (not case sensitive) are described as follows:
/? Display command line help
/i does not display the interface during installation
/r does not display the uninstall interface when uninstalling
/s does not display any installation and uninstallation information
/a Install or uninstall the parallel port dongle and USB dongle driver
/p only installs or uninstalls the parallel port dongle driver
/u only installs or uninstalls the USB dongle driver
Example: SoftDogInstdrv /i/s does not display any information during the installation process
========== File List ==========
readme-chn.txt This document
SoftDogInstdrv.exe driver installation and uninstallation program
SoftDogSetup.dll driver installation dynamic library
Delphi <DIR> calls the Delphi example program that drives the dynamic library installation
VB <DIR> calls the VB sample program that drives the dynamic library installation
VC <DIR> calls the VC example program for driver installation of dynamic libraries&nbs
===================== SoftDogSetup.dll Introduction =====================
SoftDogSetup.dll is a dynamic link library under WINDOWS. Developers can use the following interface functions in their encrypted software installation programs.
(1) Get the dog driver installation information interface function GetDogDriverInfo, defined as follows: int PASCAL GetDogDriverInfo();
Parameters: None
Return value:
0 No driver installed
1 The driver version is the same (parallel port and USB)
2 USB driver versions are the same
3 The parallel port driver version is the same
4 The old version driver has been installed (parallel port and usb)
5 The old version of the USB driver has been installed
6 The old version of parallel port driver has been installed
7 A new version of the driver has been installed (parallel port and usb)
8 New version of USB driver has been installed
9 A new version of the parallel port driver has been installed
3008 No administrator rights
(2) The function interface InstDriver for driver installation is defined as follows:
int PASCAL InstDriver(int iFlag);
parameter:
iFlag = 1 only install USB dongle driver
iFlag = 2 only install the parallel port dog driver
iFlag = 3 Install parallel port dongle driver and USB dongle driver
Return value:
If the operation is successful, it returns 0, otherwise it returns an error value.
(3) The function interface UninstallDriver for driver uninstallation is defined as follows:
int PASCAL UninstallDriver(int iFlag);
parameter:
iFlag = 1 only uninstall USB dongle driver
iFlag = 2 only uninstalls the parallel port dog driver
iFlag = 3 uninstall the parallel port dongle driver and USB dongle driver
Return value:
If the operation is successful, it returns 0, otherwise it returns an error value.
(4) DriverDialog, a function interface that displays the driver installation and uninstallation interface, is defined as follows:
void PASCAL DriverDialog();
Parameters: None
Return value: None
Please refer to the source code of each example program for details.
========= Error code =========
3001 Failed to open driver service
3002 Failed to start driver service
3003 Failed to copy file
3004 Failed to operate registry
3005 Unsupported operating system
3006 Failed to stop driver
3007 Driver uninstallation failed, this type of driver has not been installed before!
3008 Not an administrator
3009 Invalid service type
3010 Mapping system library function error
3011 Error loading system library
3012 USB dongle device not found
3013 Failed to update USB dongle driver
3014 Failed to delete file
3015 Another driver installation process is running
3016 Another driver uninstallation process is running
3017 The computer does not have a parallel port or the parallel port is disabled.
it works
it works
it works