//determine language version
Cstrings STR.
STR. The Format (" mg % x.D LL ", g_sys m_langID);
G_LangID=g_sys. M_langID;
M_hLangDLL=AfxLoadLibrary (STR);
If (m_hLangDLL)
{
AfxSetResourceHandle (m_hLangDLL);//set the resource file
}
Above is the main program of switch resource DLL procedures, now the problem is that the main program can normal run, part of a display unicode Vietnamese will be abnormal?????? , the main exception is in the main program of control operation, such as color change to Group - box, and all the project window title bar, after loadstring load of a string table character resources as well as all of the menu bar displays abnormalities, such as the window font with MS Shell Dlg mapping local system resources,
Which bosses have encountered such a problem, or will deal with this problem can be guide to the younger brother,
CodePudding user response:
https://www.cnblogs.com/drunkard87/articles/3374227.htmlCodePudding user response:
Put language related resources in the DLL, starting when judging the current environment, thus the different language resource DLLCodePudding user response:
I met the GDI + individual unicode program show Chinese abnormal later add setlocale solve