資源簡介
基于U盤的物理磁盤、采用高效對稱加密算法實現加密的一種用于軟件授權或者身份認證的組件。因為它是對物理磁盤進行操作的,所以能夠允許用戶隨意格式化U盤,而加密信息不丟失,省去了煩瑣的加密信息備份過程。

代碼片段和文件信息
//?Demo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Demo.h“
#include?“DemoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDemoApp
BEGIN_MESSAGE_MAP(CDemoApp?CWinApp)
//{{AFX_MSG_MAP(CDemoApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDemoApp?construction
CDemoApp::CDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDemoApp?object
CDemoApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDemoApp?initialization
BOOL?CDemoApp::InitInstance()
{
?AfxOleInit();
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CDemoDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????152083??2008-04-01?22:22??Demo\USBPass3.0使用說明.pdf
?????文件????????999??2008-09-03?21:23??Demo\USBPass3.0調用說明.txt
?????文件?????141312??2008-04-01?22:18??Demo\USBPassR.dll
?????文件?????270336??2008-09-10?21:30??Demo\USBPassW.dll
?????文件??????58073??2008-03-30?16:02??Demo\Window.JPG
?????文件?????????58??2008-03-27?21:21??Demo\反注冊USBPass組件.bat
?????文件?????330062??2008-09-02?21:19??Demo\如何在VC++中調用標準COM組件.mht
?????文件?????????52??2008-03-27?21:21??Demo\注冊USBPass組件.bat
?????文件????????293??2008-04-01?22:01??Demo\Delphi?Demo\Demo.dpr
?????文件?????466432??2008-09-10?21:40??Demo\Delphi?Demo\Demo.exe
?????文件??????20144??2008-03-28?16:09??Demo\Delphi?Demo\Demo.res
?????文件??????15406??2008-09-10?21:40??Demo\Delphi?Demo\UnitDemo.dcu
?????文件???????4526??2008-09-10?21:40??Demo\Delphi?Demo\UnitDialog.dcu
?????文件?????????51??2008-03-28?14:22??Demo\Delphi?Demo\UnitDialog.ddp
?????文件????????973??2008-03-28?14:22??Demo\Delphi?Demo\UnitDialog.dfm
?????文件????????965??2008-03-28?14:05??Demo\Delphi?Demo\UnitDialog.pas
?????文件???????2486??2008-09-10?21:32??Demo\Delphi?Demo\Demo.dof
?????文件????????434??2008-09-10?21:32??Demo\Delphi?Demo\Demo.cfg
?????文件???????8505??2008-04-01?22:07??Demo\Delphi?Demo\UnitDemo.~pas
?????文件???????6777??2008-09-10?21:40??Demo\Delphi?Demo\UnitDemo.~dfm
?????文件?????????33??2008-09-10?21:40??Demo\Delphi?Demo\UnitDemo.~ddp
?????文件???????8505??2008-04-01?22:07??Demo\Delphi?Demo\UnitDemo.pas
?????文件???????6777??2008-09-10?21:40??Demo\Delphi?Demo\UnitDemo.dfm
?????文件?????????33??2008-09-10?21:40??Demo\Delphi?Demo\UnitDemo.ddp
?????文件????????294??2008-09-10?21:13??Demo\VB?Demo\Demo.csi
?????文件??????81920??2008-09-10?21:32??Demo\VB?Demo\Demo.exe
?????文件????????142??2008-09-10?21:32??Demo\VB?Demo\Demo.vbw
?????文件??????15697??2008-09-04?15:41??Demo\VB?Demo\frmDemo.frm
?????文件??????19954??2008-09-04?15:41??Demo\VB?Demo\frmDemo.frx
?????文件???????3031??2008-01-14?15:50??Demo\VB?Demo\frmDialog.frm
............此處省略40個文件信息
- 上一篇:實現多個文件上傳
- 下一篇:fragment嵌套fragment和滑動菜單
評論
共有 條評論