资源简介
MTK平台 2020版本的 写号工具 SN_Writer_Tool_src_v1.2020.0.0.rar。。
代码片段和文件信息
// Encryption.cpp : implementation file
//
#include “stdafx.h“
#include “SN Writer.h“
#include “Encryption.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Encryption dialog
TCHAR g_cPwd[52] = {0};
Encryption::Encryption(CWnd* pParent /*=NULL*/)
: CDialog(Encryption::IDD pParent)
{
//{{AFX_DATA_INIT(Encryption)
m_strPwdData = _T(““);
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void Encryption::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Encryption)
DDX_Text(pDX IDC_PWD_DATA m_strPwdData);
DDV_MaxChars(pDX m_strPwdData 32);
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Encryption CDialog)
//{{AFX_MSG_MAP(Encryption)
ON_EN_KILLFOCUS(IDC_PWD_DATA OnKillfocusPwdData)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Encryption message handlers
void Encryption::OnCancel()
{
// TODO: Add extra cleanup here
CDialog::OnCancel();
}
void Encryption::OnOK()
{
// TODO: Add extra validation here
bool bCheckPass = false;
// TODO: Add extra validation here
if(strlen(m_strPwdData) >= 1)
bCheckPass = true;
if(! bCheckPass)
{
SetDlgItemText(IDC_PWD_MSG “EMPTY INPUT !“);
SetDlgItemText(IDC_PWD_DATA ““);
GotoDlgCtrl(GetDlgItem(IDC_PWD_DATA));
}
else
{
CDialog::OnOK();
}
//CDialog::OnOK();
}
void Encryption::OnKillfocusPwdData()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
bool bCheckPass = false;
strcpy_s(g_cPwd m_strPwdData.GetString());
if(strlen(m_strPwdData) >= 1)
bCheckPass = true;
if(!bCheckPass)
{
SetDlgItemText(IDC_PWD_MSG “EMPTY INPUT !“);
SetDlgItemText(IDC_PWD_DATA ““);
GotoDlgCtrl(GetDlgItem(IDC_PWD_DATA));
}
}
BOOL Encryption::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYDOWN && pMsg->wParam==VK_RETURN)
{
//AfxMessageBox(“hello just for test“);
//m_strPwdData += “\n“;
UpdateData(true);
OnOK();
return true;
}
return CDialog::PreTranslateMessage(pMsg);
}
BOOL Encryption::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
GotoDlgCtrl(GetDlgItem(IDC_PWD_DATA));
return FALSE;
//return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 24962 2020-05-22 10:05 SN_Writer_Tool_src_v1.2020.0.0\Common\Common.cpp
I.A.... 10536 2020-05-22 10:07 SN_Writer_Tool_src_v1.2020.0.0\Common\Common.h
I.A.... 335 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Delete_temp.bat
I.A.... 2682 2020-05-19 14:13 SN_Writer_Tool_src_v1.2020.0.0\Encryption.cpp
I.A.... 1487 2020-05-19 14:10 SN_Writer_Tool_src_v1.2020.0.0\Encryption.h
I.A.... 33732 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Execute\SNba
I.A.... 4600 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Execute\SNba
I.A.... 163928 2020-05-22 10:05 SN_Writer_Tool_src_v1.2020.0.0\Execute\SPexc.cpp
I.A.... 5607 2020-05-22 10:05 SN_Writer_Tool_src_v1.2020.0.0\Execute\SPexc.h
I.A.... 67547 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Extra\CBtnST\BtnST.cpp
I.A.... 10438 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Extra\CBtnST\BtnST.h
I.A.... 8686 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Extra\CBtnST\CeXDib.cpp
I.A.... 2328 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Extra\CBtnST\CeXDib.h
I.A.... 6876 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Extra\CBtnST\ShadeButtonST.cpp
I.A.... 1876 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\Extra\CBtnST\ShadeButtonST.h
I.A.... 1695 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\About\AboutSNDlg.cpp
I.A.... 1238 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\About\AboutSNDlg.h
I.A.... 25242 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\AutoGen\autogendlg.cpp
I.A.... 3326 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\AutoGen\autogendlg.h
I.A.... 10771 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\FileSel\FileSelDlg.cpp
I.A.... 2336 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\FileSel\FileSelDlg.h
I.A.... 6037 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\Identify\ChgPasswdDlg.cpp
I.A.... 1569 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\Identify\ChgPasswdDlg.h
I.A.... 3072 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\Identify\VerifyPasswdDlg.cpp
I.A.... 1435 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\Identify\VerifyPasswdDlg.h
I.A.... 51124 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\ScanData\ScanData.cpp
I.A.... 3540 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\ScanData\ScanData.h
I.A.... 38947 2020-05-21 14:17 SN_Writer_Tool_src_v1.2020.0.0\Form\SystemConfig\SystemConfig.cpp
I.A.... 4576 2020-05-19 14:12 SN_Writer_Tool_src_v1.2020.0.0\Form\SystemConfig\SystemConfig.h
I.A.... 6898 2020-05-19 14:11 SN_Writer_Tool_src_v1.2020.0.0\MtkLib\AT_cmd\inc\AtProcess.h
............此处省略214个文件信息
相关资源
- 低功耗移动电源系统硬件电路
- checkpoint的snmp及syslog配置.doc
- PDF 插件SNAKE
- NetApp集群模式Data ONTAP 8.2 SnapVault
- CVSNT中文完美稳定版
- 在sNN = 8.16 $$ \\ sqrt {s _ {\\ mathrm {NN}}
- sNN = 5.02 TeV时p -Pb碰撞中强子p T光谱的
- 在sNN = 5.02 TeV的p-Pb碰撞中通过夸克结
- 改硬盘id的小工具HDD_SN
- SnSb15合金液-液结构转变的可逆性及熔
- 三元Co50-xCu50-xSn2x合金的热物理性质与
- Al-Bi-Sn-(Cu)难混溶合金颗粒的核壳组
- Martensitic transformation and magnetocaloric
- 铁磁形状记忆合金Mn50Ni36Sn9Co5中的动力
- dellmib库snmp获取dell服务器信息的
- SNMP安装包(全+使用文档)
- Co-doping effect on the martensitic transforma
- 基于二阶锥规划的有源配电网SNOP电压
- snmpc7.0中文版网管软件
- snagit截图工具的大量印章
- Sniffer原理及开源代码
- Sniffer_Pro获取内网用户密码实验指导手
- SNR-提取波的初至时
- asn1c-0.9.24
- RTL8370MB_DEMO_P4L_V1_0_V72.DSN
- 掺杂Nb2O5对Ba0.92Sr0.08Ti0.95Sn0.05O3介质瓷
- Ni-Zr-Ti-Nb-MM=SnBi块体非晶合金的形成及
- net-snmp-5.6.1.1-1.x86.exe
- 在sNN = 5.02 TeV的p–Pb碰撞中产生c
- 在sNN = 2.76TeV时PbPb碰撞中1S,ϒ2S和
评论
共有 条评论