PRIMARY LANGUAGE ID not a number

Source: Internet
Author: User

Use VS2010 to modify other people's source code (estimated to be VC6). RC file, Error:
1>. RC (8): Error rc2144:primary LANGUAGE ID not a number
1>
1>
1>. RC: Error Rc2135:file not found:100

Solutions found on the Web:
1, comment out. RC files in the LANGUAGE Lang_chinese, sublang_chinese_simplified
2. Join in Resource.h
#include <winresrc.h>

I carefully compared the original RC file and the modified RC file, found that the original RC file has
#include <winver.h>
and the modified RC file does not have a similar, so do not comment out LANGUAGE Lang_chinese, sublang_chinese_simplified words, you must #include <winresrc.h> These two. h files are in the C:\Program files (x86) \microsoft Sdks\windows\v7.0a\include directory, so both methods must be two selected

PRIMARY LANGUAGE ID not a number

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.