Article ID: 187280
Article Last Modified on 8/11/2005
119591 How to Obtain Microsoft Support Files from Online Services
#include <windows.h>
#include <stdio.h>
#include "resource.h"
void main()
{
TCHAR pszTest[256];
INT i = 0;
HMODULE hMod = GetModuleHandle(NULL);
LANGID langIds[5] = { 0x409,0x1809,0x809,0x1009,0x41d };
TCHAR pszLangIds[5][25] = { "English","Ireland",
"British","Canada","Swedish"};
for(i; i<=4; i++)
{
// SetThreadLocale function is not supported on Windows 95.
SetThreadLocale(langIds[i]);
LoadString(hMod, IDS_TEST, pszTest, sizeof(pszTest));
printf("%s\t(LangId = 0x%x)\t=\t%s\n", pszLangIds[i],
langIds[i], pszTest);
}
}
SDK Documentation\Platform SDK\Window Base Services\International Features\Locale Identifiers\Language Identifiers and Locales
Additional query words: VS97bug kbSPack3
Keywords: kbdownload kbbug kbfix kbpatch kbfile kbvs600sp3fix KB187280