-
大小: 3.95MB文件類(lèi)型: .zip金幣: 2下載: 0 次發(fā)布日期: 2023-09-17
- 語(yǔ)言: 其他
- 標(biāo)簽:
資源簡(jiǎn)介
利用網(wǎng)卡生成全球唯一序列號(hào),環(huán)境VC2010,絕對(duì)可用,對(duì)于自己軟件需要客戶(hù)注冊(cè)才能用的同學(xué)有極大幫助。自己已經(jīng)用在了實(shí)際的工程里面。不愿獨(dú)享,特與大家分享。

代碼片段和文件信息
//?RegisterCode.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“RegisterCode.h“
#include?“RegisterCodeDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CRegisterCodeApp
BEGIN_MESSAGE_MAP(CRegisterCodeApp?CWinApp)
//{{AFX_MSG_MAP(CRegisterCodeApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CRegisterCodeApp?construction
CRegisterCodeApp::CRegisterCodeApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CRegisterCodeApp?object
CRegisterCodeApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CRegisterCodeApp?initialization
BOOL?CRegisterCodeApp::InitInstance()
{
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
CRegisterCodeDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2016-11-19?10:26??注冊(cè)機(jī)源代碼\
?????目錄???????????0??2016-11-19?10:26??注冊(cè)機(jī)源代碼\Debug\
?????文件??????114804??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Debug\RegisterCode.exe
?????文件??????233824??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Debug\RegisterCode.ilk
?????文件???????14471??2016-07-19?16:32??注冊(cè)機(jī)源代碼\Debug\RegisterCode.obj
?????文件?????5504104??2016-07-19?08:57??注冊(cè)機(jī)源代碼\Debug\RegisterCode.pch
?????文件??????402432??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Debug\RegisterCode.pdb
?????文件????????2784??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Debug\RegisterCode.res
?????文件???????64967??2016-07-19?16:35??注冊(cè)機(jī)源代碼\Debug\RegisterCodeDlg.obj
?????文件??????105978??2016-07-19?08:57??注冊(cè)機(jī)源代碼\Debug\StdAfx.obj
?????文件??????205824??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Debug\vc60.idb
?????文件??????364544??2016-07-19?16:35??注冊(cè)機(jī)源代碼\Debug\vc60.pdb
?????文件????????3687??2010-04-13?23:14??注冊(cè)機(jī)源代碼\ReadMe.txt
?????文件???????36200??2016-11-19?10:25??注冊(cè)機(jī)源代碼\RegisterCode.aps
?????文件????????1348??2016-11-19?10:25??注冊(cè)機(jī)源代碼\RegisterCode.clw
?????文件????????2147??2010-04-13?23:14??注冊(cè)機(jī)源代碼\RegisterCode.cpp
?????文件????????4267??2010-04-13?23:14??注冊(cè)機(jī)源代碼\RegisterCode.dsp
?????文件?????????549??2010-04-13?23:14??注冊(cè)機(jī)源代碼\RegisterCode.dsw
?????文件????????1390??2010-04-13?23:14??注冊(cè)機(jī)源代碼\RegisterCode.h
?????文件???????66560??2016-11-19?10:25??注冊(cè)機(jī)源代碼\RegisterCode.ncb
?????文件???????49664??2016-11-19?10:25??注冊(cè)機(jī)源代碼\RegisterCode.opt
?????文件?????????782??2016-11-19?10:25??注冊(cè)機(jī)源代碼\RegisterCode.plg
?????文件????????5599??2016-11-19?10:25??注冊(cè)機(jī)源代碼\RegisterCode.rc
?????文件???????11181??2016-07-19?16:35??注冊(cè)機(jī)源代碼\RegisterCodeDlg.cpp
?????文件????????1572??2016-07-19?16:17??注冊(cè)機(jī)源代碼\RegisterCodeDlg.h
?????目錄???????????0??2016-11-19?10:26??注冊(cè)機(jī)源代碼\Release\
?????文件???????28672??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Release\RegisterCode.exe
?????文件????????9508??2016-07-19?16:36??注冊(cè)機(jī)源代碼\Release\RegisterCode.obj
?????文件?????5684232??2016-07-19?16:36??注冊(cè)機(jī)源代碼\Release\RegisterCode.pch
?????文件????????2784??2016-11-19?10:25??注冊(cè)機(jī)源代碼\Release\RegisterCode.res
?????文件???????36178??2016-07-19?16:36??注冊(cè)機(jī)源代碼\Release\RegisterCodeDlg.obj
............此處省略8個(gè)文件信息
評(píng)論
共有 條評(píng)論