×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    25

    _reg.rss 和 _loc.rss 这些关系不太懂

    _reg.rss 和 _loc.rss绑定了 见:
    RESOURCE APP_REGISTRATION_INFO
    {
    app_file="MowomCode";
    localisable_resource_file = "\\resource\\apps\\MowomCode_loc";
    embeddability=KAppNotEmbeddable;
    newfile=KAppDoesNotSupportNewFile;
    }

    我的_loc.rss里面用到_loc.rls文件, _loc.rls文件里面定义了我的字符串。就这样的关系
    _loc.rls文件仅仅两个变量
    rls_string STRING_short_caption "hahah"
    rls_string STRING_r_long_caption "hahah"
    为什么程序启动不显示hahah 而显示MowomCode

  2. #2
    Super Contributor
    Join Date
    Mar 2005
    Posts
    3,076

    Re: _reg.rss 和 _loc.rss 这些关系不太懂

    不在reg.rss中定义,在your_application_name.rss中有
    Code:
    RESOURCE LOCALISABLE_APP_INFO r_xxxx_localisable_app_info
        {
        short_caption = STRING_short_caption;
        caption_and_icon = 
        CAPTION_AND_ICON_INFO
            {
            caption = STRING_long_caption;
    
            number_of_icons = 1;
            icon_file = "\\resource\\apps\\xxx_reg.mif";
            };
        }
    此中定义影响程序启动显示名称。
    I'd just be the catcher in the rye
    hoolee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×