ini_lang.cpp
上传用户:looem2003
上传日期:2014-07-20
资源大小:13733k
文件大小:4k
- #include "ini_lang.h"
- LangModule lm;
- LangModule::LangModule()
- {
- ZeroMemory( tmp, sizeof(tmp));
- ZeroMemory( key, sizeof(key));
- ZeroMemory( &lm, sizeof(lm));
- }
- LangModule::~LangModule()
- {
- ZeroMemory( tmp, sizeof(tmp));
- ZeroMemory( key, sizeof(key));
- ZeroMemory( &lm, sizeof(lm));
- }
- TCHAR LangModule::str[4096] = _T("");
- BOOL LangModule::is_hex( LPCTSTR str )
- {
- BOOL ret = TRUE;
- TCHAR hex[] = _T("0123456789ABCDEF");
- size_t i = 0;
- while( str && str[i] )
- if( NULL == _tcschr( hex, str[i++] ) )
- {
- ret = FALSE;
- break;
- }
- return ret;
- }
- //羼腓 蹂犟 蝾 蜞