⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chinesecode.h

📁 此程序能通过串口发送手机短信
💻 H
字号:
#if !defined(AFX_CHINESECODE_H__EDB311CB_43A0_4F46_BD80_8E1AF5F149EA__INCLUDED_)
#define AFX_CHINESECODE_H__EDB311CB_43A0_4F46_BD80_8E1AF5F149EA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// chinesecode.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// chinesecode dialog

class chinesecode : public CDialog
{
// Construction
public:
	static void UTF_8ToGB2312(char* pOut, char *pText, int pLen);
	static void GB2312ToUTF_8(char* pOut,char *pText, int pLen);
	static void Gb2312ToUnicode(wchar_t* pOut,char *gbBuffer);
	static void UnicodeToGB2312(char* pOut,wchar_t uData);
	static void UnicodeToUTF_8(char* pOut,wchar_t* pText);
	static void UTF_8ToUnicode(wchar_t* pOut,char *pText);
	chinesecode(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(chinesecode)
	enum { IDD = _UNKNOWN_RESOURCE_ID_ };
		// OTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(chinesecode)
	public:
	virtual void OnFinalRelease();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(chinesecode)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(chinesecode)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHINESECODE_H__EDB311CB_43A0_4F46_BD80_8E1AF5F149EA__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -