hex2bin.h
来自「在高通的手机平台下,一个下载手机.bin文件到手机的flash中的工具,包含PC」· C头文件 代码 · 共 36 行
H
36 行
// NAME: Hex2Bin.h
#ifndef HEX_2_BIN_H
#define HEX_2_BIN_H
#ifndef __cplusplus
#error "This is a C++ header file; it requires C++ to compile."
#endif
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//--------------------------------------------------------------------------------------------------
// CLASS
//--------------------------------------------------------------------------------------------------
class CHex2Bin : public CObject
{
private:
LONG m_segment;
BOOL m_bType;
public:
CHex2Bin();
virtual ~CHex2Bin();
BOOL GoGoGo(CString strFile);
private:
void Record_ExtAdd(BYTE* ptr, int len, BYTE type);
BYTE htoi(BYTE *str);
LONG FileSize(FILE *file);
};
extern CHex2Bin theCnvrt;
//--------------------------------------------------------------------------------------------------
#endif // HEX_2_BIN_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?