資源簡介
ET2008軟件,ET軟件在Windows7和Windows10安裝加密鎖所需要的新驅動,微狗win7win10驅動

代碼片段和文件信息
/****************************************************************************
????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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-12-23?11:34??鎖驅動WIN7\
?????文件?????2002273??2005-10-25?09:35??鎖驅動WIN7\data1.cab
?????文件???????13394??2005-10-25?09:35??鎖驅動WIN7\data1.hdr
?????文件??????799708??2005-10-25?09:35??鎖驅動WIN7\data2.cab
?????目錄???????????0??2013-12-23?11:34??鎖驅動WIN7\DELPHI\
?????文件?????????192??2004-12-17?10:32??鎖驅動WIN7\DELPHI\DogSetup.dpr
?????文件??????310272??2004-12-17?10:32??鎖驅動WIN7\DELPHI\DogSetup.exe
?????文件?????????876??2004-12-17?10:32??鎖驅動WIN7\DELPHI\DogSetup.res
?????文件????????1936??2004-12-17?10:32??鎖驅動WIN7\DELPHI\mainfrm.dfm
?????文件????????7384??2004-12-17?10:32??鎖驅動WIN7\DELPHI\mainfrm.pas
?????文件??????459544??2005-04-28?10:51??鎖驅動WIN7\engine32.cab
?????目錄???????????0??2013-12-23?11:34??鎖驅動WIN7\Installshield\
?????文件????????2749??2004-12-17?10:32??鎖驅動WIN7\Installshield\Setup.rul
?????文件?????????455??2005-10-25?09:35??鎖驅動WIN7\layout.bin
?????文件??????202016??2010-02-05?16:28??鎖驅動WIN7\MicroDogInstdrv.exe
?????文件??????????12??2003-07-04?17:54??鎖驅動WIN7\NDogInst.Dat
?????目錄???????????0??2013-12-23?11:34??鎖驅動WIN7\PB\
?????文件???????83456??2004-12-17?10:32??鎖驅動WIN7\PB\DogSetup.exe
?????文件???????36864??2004-12-17?10:32??鎖驅動WIN7\PB\EXAM.pbl
?????文件?????2966816??2010-02-08?16:48??鎖驅動WIN7\RCMicroDogSetup.dll
?????文件????????4311??2010-02-04?16:04??鎖驅動WIN7\Readme-chn.txt
?????文件????????6839??2010-02-05?16:40??鎖驅動WIN7\Readme-eng.txt
?????文件??????116880??2007-07-27?21:22??鎖驅動WIN7\setup.exe
?????文件??????449909??2005-10-25?09:35??鎖驅動WIN7\setup.ibt
?????文件?????????540??2005-10-25?09:35??鎖驅動WIN7\setup.ini
?????文件??????200115??2005-10-25?09:35??鎖驅動WIN7\setup.inx
?????目錄???????????0??2013-12-23?11:34??鎖驅動WIN7\VB\
?????文件?????????478??2004-12-17?10:32??鎖驅動WIN7\VB\declare.bas
?????文件????????6394??2004-12-17?10:32??鎖驅動WIN7\VB\dogsetup.frm
?????文件?????????698??2004-12-17?10:32??鎖驅動WIN7\VB\Dogsetup.vbp
?????文件???????28672??2004-12-17?10:32??鎖驅動WIN7\VB\vbsetup.exe
............此處省略20個文件信息
- 上一篇:在線字典學習代碼
- 下一篇:PDF拼版與加角線折線教程
評論
共有 條評論