Click here to Skip to main content
11,921,889 members (59,557 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ C++/CLI C MFC ATL WTL STL
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 19: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
0 OriginalGriff 568
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web01 | 2.8.151120.1 | Last Updated 9 Jan 2010
Copyright © CodeProject, 1999-2015
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