三星E848解手机话机锁程序
源代码在线查看: e848解锁dlg.h
// E848解锁Dlg.h : header file
//
#if !defined(AFX_E848DLG_H__CC30CB08_3ED2_4B76_98BA_6CAAF46F7573__INCLUDED_)
#define AFX_E848DLG_H__CC30CB08_3ED2_4B76_98BA_6CAAF46F7573__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CE848Dlg dialog
#include "SerialPort.h" //添加CSerailPort类的头文件
class CE848Dlg : public CDialog
{
// Construction
public:
char HexChar(char ch);
int String2Hex(CString str, char* data);
CE848Dlg(CWnd* pParent = NULL); // standard constructor
CSerialPort m_SerialPort; //CSerailPort类对象,串口1
unsigned char js,js1;
unsigned char m_strPortRXData[27];
// Dialog Data
//{{AFX_DATA(CE848Dlg)
enum { IDD = IDD_E848_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CE848Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CE848Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
afx_msg LONG OnComm(WPARAM ch, LPARAM port);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButton1();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_E848DLG_H__CC30CB08_3ED2_4B76_98BA_6CAAF46F7573__INCLUDED_)