From: Mape via PocketPCJunkies.com on 8 Nov 2006 05:28 How can i get the ISO 639-1 Language Code for a device? I am using the following code that will get me the ISO 639-2 three letter code for the language used on the device, but i would like to get the two letter code instead.. TCHAR szNative[32]; LANGID langID = GetUserDefaultUILanguage(); GetLocaleInfo(MAKELCID (langID, SORT_DEFAULT), LOCALE_SABBREVLANGNAME, szNative, 32); -- Message posted via PocketPCJunkies.com http://www.pocketpcjunkies.com/Uwe/Forums.aspx/pocketpc-prog/200611/1
|
Pages: 1 Prev: Edit_GetInputMode, Edit_SetInputMode Next: reading ini file (GetPrivateProfileString) |