Click to See Complete Forum and Search --> : Multiligual apps on W2K


Dmitry Katemirov
July 19th, 2000, 06:07 AM
Hello all,

I've experienced problem using multilingual resource set when developing application on W2K/W98.

On WinNT, API function FindResource() acts just like FindResourceEx(,,, LANGIDFROMLCID(GetThreadLocale())), that is, return the handle of resource whose LANGID conforms to a LANGID of a thread's locale. On W2K/W98, it always return handle of English resource, regardless on what locale is system default.

This means an application having multiple copies of resources for multiple languages doesn't switch them automatically as it did on older OS. Since my application has written using MFC and all the calls of FindResource() are located deep inside it, I can't change them to appropriate FindResourceEx().

The question is what workaround could be in this situation. It will be lot of pain to rewrite all the code that we have done in the last three years, so any help will be greatly appreciated.

Dmitry Katemirov