点击-》》属性设置相应的语言版本;
初始化函数中添加
GetPrivateProfileString("Camera", "Language", "chinese", m_nLanguage.GetBuffer(100), 100, m_sInitFile);// [2021-7-10 by zdh]
if (m_nLanguage == "chinese")
{
SetThreadUILanguage(MAKELCID(MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED), SORT_DEFAULT));
}
else
{
SetThreadUILanguage(MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT));
}