Click here to Skip to main content
15,031,193 members
Please Sign up or sign in to vote.
5.00/5 (3 votes)
I have creted a MFC SDI project in VC 2008 and compiled in Vista OS. Now when i copied the project into XP OS system and opened. I can open all views(class view, solution explorer...) but the resource view...
it is showing a MessageBox stating

A resource in file uses an unknown language:English(U.S.)(unknown sub-lang:0x10).
Unable to open this file.

Did anybody come across this problem...

Thank you.


Since Windows Vista supports "India' English", and has the following definition:

0x4009 India (IN) 0x10 SUBLANG_ENGLISH_INDIA

Visual Studio takes this as the project's language.

While creating new project, one should select 'English (US)' as 'Resource Language' in Project Wizard.
Open your resource script file, and delete this part from it:
// English (U.S.) (unknown sub-lang: 0x10) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENN)
#ifdef _WIN32
#pragma code_page(1252)
#endif //_WIN32


2 RT_MANIFEST "XenonOcx.manifest"
#endif // English (U.S.) (unknown sub-lang: 0x10) resources

It solves your problem.
Birendra_Singh 18-Jun-11 6:53am
It realy works. Thanks.
Benjamin Bruno 25-Jan-12 4:00am
Yes thanks for the solution

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900