Hi

I have quite an old MFC project (which is now being built under VS2005), which has multiple language resources, for English, Polish, Spanish etc. The way I currently set-up which language resource is displayed is by using the following:

LCID m_locale;

WORD wLangID = MAKELANGID(LANG_ID, SUBLANG_ID);
m_locale = MAKELCID(wLangID, SORT_DEFAULT);
SetThreadLocale(m_locale);

This does not seem to work under Vista. Anybody have any ideas for solutions ?