c++c++11visual-studio-2019

VS2019: How to resolve the "unknown sub-lang: 0x8" message in Resource View?


I have recently started using Visual Studio 2019 for my C++11 project. VS2019 converted the project and it compiles into an executable. But I can't open my resource (.rc) file in the Resource Viewer. It gives me this warning:

A resource in this file uses an unknown language: Neutral (Default) (unknown sub-lang: 0x8). Unable to open this file.

enter image description here

I tried trimming the resource file to bare necessity but that did not work.

The strange thing is that it also happens with Scribble, Microsofts example project. I downloaded it from https://learn.microsoft.com/en-us/cpp/mfc/walkthrough-updating-the-mfc-scribble-application-part-1?view=vs-2019 using the [Scribble 1.0 MFC sample] link under the Prerequisites header.

When the solution is opened in VS2019, it is converted, it compiles, but I can't open the accompanying resource file to look at the Dialogs.

Any help is appreciated!

Best regards, Keun


Solution

  • This solution helped for me: https://developercommunity.visualstudio.com/comments/96766/view.html

    When you have multiple language settings in your Windows, remove all but one. I had to leave the English (US) option. Then the resource opens again without problems. Hope this helps someone (or myself in the future as this is the second time I spend an hour to search for a solution).