资源简介
UMI微狗硬复制工具及分析资料,UMI微狗硬复制工具及分析资料,有关UMI微狗硬复制的工具以及一些分析资料
代码片段和文件信息
/****************************************************************************
PROGRAM: DOGDEMO
PURPOSE: This application demonstrates how to load dogsetup.dll to install
the dog driver
Copyright 2004 SafeNet China Ltd. All Rights Reserved
****************************************************************************/
#include “windows.h“ /* required for all Windows applications */
#include “string.h“
#include “stdio.h“
#include “dogdemo.h“ /* specific to this program */
#include “resource.h“
#include “gsmh.h“
#define INSTALL_ONLY_USB_DOG_DRVIER 1
#define INSTALL_ONLY_PARALLEL_DOG_DRVIER 2
#define INSTALL_ALL_DOG_DRVIER 3
#define UNINSTALL_ONLY_USB_DOG_DRVIER 1
#define UNINSTALL_ONLY_PARALLEL_DOG_DRVIER 2
#define UNINSTALL_ALL_DOG_DRVIER 3
HANDLE hInst;
/****************************************************************************
FUNCTION: WinMain(HANDLE HANDLE LPSTR int)
****************************************************************************/
int PASCAL WinMain(HANDLE hInstance HANDLE hPrevInstance LPSTR lpCmdLine int nCmdShow)
{
DLGPROC lpDialogProc;
HINSTANCE mlib;
static char IniFileName[128];
static char Message[100];
static char inBuffer[10];
static char brun[]=“haverun“;
HANDLE hMutex;
hMutex=CreateMutex(
NULL // SD
TRUE // initial owner
brun // object name
);
if(GetLastError()==ERROR_ALREADY_EXISTS )
{
MessageBox(NULL“another process is running !““please waiting“MB_OK);
return 0;
}
mlib = LoadLibrary(TEXT(“DOGSETUP.dll“));
if(mlib != NULL)
(FARPROC)InstDriver = GetProcAddress(mlib “InstDriver“);
else
{
MessageBox(NULL“DOGSETUP.DLL not found!““Error“MB_OK);
return 0;
}
hInst = hInstance;
lpDialogProc = MakeProcInstance(DemoDlg hInstance);
if (strstr((char*)lpCmdLine“/?“)!=NULL)//display the command line help
{
MessageBox(NULL“Command Line Help(Not distinguish capital or lowercase)\n/? Display the command line help!\n/i Not Display the interface of installation!\n/s Not diaplay any information about installation!\n\nFor example:\nDoginst /i/s Not display any information in the process of installation!\n\n““Hint“MB_OK);
return FALSE;
}
else if(strstr((char*)lpCmdLine“/i“)!=NULL||strstr((char*)lpCmdLine“/I“)!=NULL)//Not display the interface of installation
{
//if you want only install the USB driver or Paralle driver you can use other Micro.
//for example
//INSTALL_ONLY_USB_DOG_DRVIER
//INSTALL_ONLY_PARALLEL_DOG_DRVIER
int retcode = InstDriver(INSTALL_ALL_DOG_DRVIER);
if(strstr((char*)lpCmdLine“/s“)!=NULL||strstr((char*)lpCmdLine“/S“)!=NULL)//Not display any information in the process of installation
{
return 0;
}
if(retcode == 0)
{
MessageBox(NULL“Th
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 192 2004-12-17 10:32 UMI软件狗工具\MicroDog driver 4.0.16.2\DELPHI\DogSetup.dpr
文件 386560 2007-11-19 12:30 UMI软件狗工具\MicroDog driver 4.0.16.2\DELPHI\DogSetup.exe
文件 876 2004-12-17 10:32 UMI软件狗工具\MicroDog driver 4.0.16.2\DELPHI\DogSetup.res
文件 1276 2007-11-19 12:29 UMI软件狗工具\MicroDog driver 4.0.16.2\DELPHI\mainfrm.dfm
文件 7384 2004-12-17 10:32 UMI软件狗工具\MicroDog driver 4.0.16.2\DELPHI\mainfrm.pas
文件 2749 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\Installshield\Setup.rul
文件 196608 2009-05-14 10:07 UMI软件狗工具\MicroDog driver 4.0.16.2\MicroDogInstdrv.exe
文件 48640 2007-11-13 15:12 UMI软件狗工具\MicroDog driver 4.0.16.2\PB\DogSetup.exe
文件 36864 2007-11-12 14:38 UMI软件狗工具\MicroDog driver 4.0.16.2\PB\EXAM.pbl
文件 2961408 2009-05-19 10:27 UMI软件狗工具\MicroDog driver 4.0.16.2\RCMicroDogSetup.dll
文件 4170 2007-11-19 13:13 UMI软件狗工具\MicroDog driver 4.0.16.2\Readme-chn.txt
文件 6725 2007-11-19 13:13 UMI软件狗工具\MicroDog driver 4.0.16.2\Readme-eng.txt
文件 478 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VB\declare.bas
文件 6394 2007-11-12 14:28 UMI软件狗工具\MicroDog driver 4.0.16.2\VB\dogsetup.frm
文件 700 2007-11-12 14:28 UMI软件狗工具\MicroDog driver 4.0.16.2\VB\Dogsetup.vbp
文件 28672 2007-11-12 14:29 UMI软件狗工具\MicroDog driver 4.0.16.2\VB\vbsetup.exe
文件 13787 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\Dogdemo.c
文件 2110 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\Dogdemo.cpp
文件 4233 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\Dogdemo.dsp
文件 607 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\Dogdemo.dsw
文件 1335 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\Dogdemo.h
文件 5965 2007-11-12 14:27 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\Dogdemo.rc
文件 11750 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\DogdemoDlg.cpp
文件 1540 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\DogdemoDlg.h
文件 745 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\dogdriver.h
文件 20480 2007-11-12 14:27 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\DogInst.exe
文件 1243 2007-10-24 16:03 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\project.pj
文件 1078 2004-12-17 10:32 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\res\Dogdemo.ico
文件 399 2004-12-17 10:32 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\res\Dogdemo.rc2
..A.SH. 3072 2007-11-19 11:15 UMI软件狗工具\MicroDog driver 4.0.16.2\VC\res\Thumbs.db
............此处省略24个文件信息
- 上一篇:银灿IS903量产工具V1.25
- 下一篇:中国地图shp
评论
共有 条评论