Click here to Skip to main content
13,198,678 members (48,796 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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.

Posted 10-Dec-08 18:39pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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_win 18-Jun-11 6:53am
It realy works. Thanks.
Benjamin Bruno 25-Jan-12 4:00am
Yes thanks for the solution
  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 9 Jan 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100