none
TypeLoadException RRS feed

  • 问题

  • 我在开发compact framework程序的时候,遇到一个异常TypeLoadException,打开设备的netcf_Load.log发现如下dll无法加载,之前包括zh-CHS的dll也是无法加载,不过在安装System_SR_CHS_wm.cab之后就少了那个错误,但是我始终找不到关于zh-CN的相关安装包,这到底是怎么回事呢?望各位大牛赐教!!!

    System.SR应该是关于错误信息字符串资源的吧,zh-CN,zh-CHS,zh-CHT到底怎么区别,貌似ENU(中立),zh-CHS(简体),zh-CHT(繁体)等等的包都可以找到,唯独没有zh-CN的~~~~,刚开始以为装了简体和繁体就不用装zh-CN了,但是还是报如下错误,而且找不到zh-CN的包。。。

    Loading module [\Storage Card\memtest\zh-CN\System.SR.resources.dll]
    Attempt to load [\Storage Card\memtest\zh-CN\System.SR.resources.dll] has failed (err 0x80001001).
    Loading module [\Storage Card\memtest\zh-CN\System.SR.resources.exe]
    Attempt to load [\Storage Card\memtest\zh-CN\System.SR.resources.exe] has failed (err 0x80001001).
    Loading module [\Storage Card\memtest\zh-CN\System.SR.resources.dll]
    Attempt to load [\Storage Card\memtest\zh-CN\System.SR.resources.dll] has failed (err 0x80001001).
    Loading module [\Storage Card\memtest\zh-CN\System.SR.resources.exe]
    Attempt to load [\Storage Card\memtest\zh-CN\System.SR.resources.exe] has failed (err 0x80001001).
    Failed to load [System.SR.resources, Version=2.0.0.0, Culture=zh-CN, PublicKeyToken=969DB8053D3322AC]
    2009年4月29日 3:36

答案

  • 你使用的Compact Framework是什么版本?

    下面是Compact Framework 3.5对相关全球化文件的描述,其中中文culture的支持名称发生了一些改变


    Previous Behavior

    Unicode 3.0;
    zh-CHS and zh-CHT are not supported;
    Chinese - PRC culture 0x0804 name is zh-CN_pronun;
    English - Caribbean 0x2409 name is en-CB;
    Spanish - Mexico 0x080a has currency Mexican Peso;
    Serbian cultures contained references to Montenegro;
    Turkish currency is Turkish Lira;
    Azeri culture names for LCIDS 0x002c, 0x042c, 0x082c are az-AZ-Latn and az--AZ-Cyrl;
    Georgian culture 0x0437 name is ka-GE_tradn;
    Uzbek cultures 0x0043 and 0x0843 names are uz-UZ-Latn to uz-Latn-UZ;
    Divehi cultures 0x0065 and 0x0465 name is div-MV;
    Serbia Latin (0x081a) has no special sorting exceptions or compression tables


    New Behavior

    Unicode 5.0;
    zh-CHS and zh-CHT are supported;
    PRC culture 0x0804 name is zh-CN_stroke and its abbreviated day names have been updated;
    English - Caribbean 0x2409 name is en-029;
    Spanish - Mexico 0x080a now has currency "Mexican Nuevo Peso";
    Serbian cultures no longer contain references to Montenegro;
    Turkish currency changed to "New Turkish Lira";
    Azeri culture names for LCIDS 0x002c, 0x042c, 0x082c are az-Latn-AZ and az-Cyrl-AZ;
    Georgian culture 0x0437 name is ka-GE_modern;
    Uzbek cultures 0x0043 and 0x0843 names are uz-UZ-Cyrl to uz-Cyrl-UZ;
    Divehi cultures 0x0065 and 0x0465 name is dv-MV;
    Serbia Latin (0x081a) uses the same sorting exceptions and compression tables as Croatian (0x041a)


    详见:http://msdn.microsoft.com/en-us/netframework/bb986636.aspx


    I'm a device.
    2009年5月4日 14:05
    版主

全部回复

  • 你使用的Compact Framework是什么版本?

    下面是Compact Framework 3.5对相关全球化文件的描述,其中中文culture的支持名称发生了一些改变


    Previous Behavior

    Unicode 3.0;
    zh-CHS and zh-CHT are not supported;
    Chinese - PRC culture 0x0804 name is zh-CN_pronun;
    English - Caribbean 0x2409 name is en-CB;
    Spanish - Mexico 0x080a has currency Mexican Peso;
    Serbian cultures contained references to Montenegro;
    Turkish currency is Turkish Lira;
    Azeri culture names for LCIDS 0x002c, 0x042c, 0x082c are az-AZ-Latn and az--AZ-Cyrl;
    Georgian culture 0x0437 name is ka-GE_tradn;
    Uzbek cultures 0x0043 and 0x0843 names are uz-UZ-Latn to uz-Latn-UZ;
    Divehi cultures 0x0065 and 0x0465 name is div-MV;
    Serbia Latin (0x081a) has no special sorting exceptions or compression tables


    New Behavior

    Unicode 5.0;
    zh-CHS and zh-CHT are supported;
    PRC culture 0x0804 name is zh-CN_stroke and its abbreviated day names have been updated;
    English - Caribbean 0x2409 name is en-029;
    Spanish - Mexico 0x080a now has currency "Mexican Nuevo Peso";
    Serbian cultures no longer contain references to Montenegro;
    Turkish currency changed to "New Turkish Lira";
    Azeri culture names for LCIDS 0x002c, 0x042c, 0x082c are az-Latn-AZ and az-Cyrl-AZ;
    Georgian culture 0x0437 name is ka-GE_modern;
    Uzbek cultures 0x0043 and 0x0843 names are uz-UZ-Cyrl to uz-Cyrl-UZ;
    Divehi cultures 0x0065 and 0x0465 name is dv-MV;
    Serbia Latin (0x081a) uses the same sorting exceptions and compression tables as Croatian (0x041a)


    详见:http://msdn.microsoft.com/en-us/netframework/bb986636.aspx


    I'm a device.
    2009年5月4日 14:05
    版主
  • compact framework 2.0
    2009年5月4日 14:35