严重错误RC4214:代码页无效 [英] fatal error RC4214: Codepage not valid

查看:273
本文介绍了严重错误RC4214:代码页无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

Windows7 Microsoft Visual Studio 2008
版本9.0.30729.1 SP
Microsoft .NET Framework
版本3.5 SP1
已安装的版本:Enterprise

一切正常,但是前一天我遇到了以下错误,现在我在所有项目中都遇到了这个问题:
正在编译资源...
Microsoft(R)Windows(R)资源编译器版本6.1.6723.1
版权所有(C)Microsoft Corporation.版权所有.
.\ TestRC_RU.rc(63):致命错误RC4214:代码页无效:已忽略

该错误指向此处:

语言9、1
#pragma code_page(1252)

如果使用Eng语言环境创建一个新的空项目,则会收到该错误,但是如果选择任何其他语言环境,则不会出现错误:


正在编译资源...
Microsoft(R)Windows(R)资源编译器版本6.1.6723.1
版权所有(C)Microsoft Corporation.版权所有.
正在链接...

在xxx.rc文件中:

语言25,1
#pragma code_page(1251)

可能发生的情况是,仅安装了最后的安全更新.

Hello!

Windows7 Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Installed Edition: Enterprise

Everything was ok, but some day ago I had a following error and I have it in all projects now:
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
.\TestRC_RU.rc(63) : fatal error RC4214: Codepage not valid: ignored

That error points here:

LANGUAGE 9, 1
#pragma code_page(1252)

If I create a new empty project with Eng locale I get that error, but no errors appear if I select any other locales:


Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...

In xxx.rc file:

LANGUAGE 25, 1
#pragma code_page(1251)

What could happen, only the last security updates were installed.

推荐答案

如果在没有此行的情况下重新编译会发生什么情况

What happens if you recompile without this line

#pragma code_page(1252)吗?

#pragma code_page(1252) ?


这篇关于严重错误RC4214:代码页无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆