在线看毛片网站电影-亚洲国产欧美日韩精品一区二区三区,国产欧美乱夫不卡无乱码,国产精品欧美久久久天天影视,精品一区二区三区视频在线观看,亚洲国产精品人成乱码天天看,日韩久久久一区,91精品国产91免费

<menu id="6qfwx"><li id="6qfwx"></li></menu>
    1. <menu id="6qfwx"><dl id="6qfwx"></dl></menu>

      <label id="6qfwx"><ol id="6qfwx"></ol></label><menu id="6qfwx"></menu><object id="6qfwx"><strike id="6qfwx"><noscript id="6qfwx"></noscript></strike></object>
        1. <center id="6qfwx"><dl id="6qfwx"></dl></center>

            新聞中心

            EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > 嵌入式系統(tǒng)多語言文本解決方案

            嵌入式系統(tǒng)多語言文本解決方案

            作者: 時間:2012-03-12 來源:網(wǎng)絡 收藏

              #define TXT_FILE_VIETNAM config/Vietnam.cfg

              #define TXT_FILE_SWIDISH config/Swedish.cfg

              #define TXT_FILE_POLISH config/Polish.cfg

              //根據(jù)索引及,讀取相應的配置文件,以得到該文本,成功返回有效指針

              GUISTRING * GetTextResource(LONG lIndex, LONG lLanguage)

              {

              GUISTRING * pTxt;

              APPTEXT_FILEHEADER fh;

              APPTEXT_MAPPING map;

              STRING strFile;

              WORD * pBuf;

              int fd, iOff;

              //確定要讀取的配置文件

              switch (lLanguage)

              {

              case TXT_LANG_ENGLISH:

              strFile = TXT_FILE_ENGLISH;

              break;

              case TXT_LANG_CHINASIM:

              strFile = TXT_FILE_CHINASIM;

              break;

              case TXT_LANG_CHINATRA:

              strFile = TXT_FILE_CHINATRA;

              break;

              case TXT_LANG_KOREAN:

              strFile = TXT_FILE_KOREAN;

              break;

              case TXT_LANG_JAPANESE:

              strFile = TXT_FILE_JAPANESE;

              break;

              case TXT_LANG_SPANISH:

              strFile = TXT_FILE_SPANISH;

              break;

              case TXT_LANG_RUSSIAN:

              strFile = TXT_FILE_RUSSIAN;

              break;

              case TXT_LANG_THAI:

              strFile = TXT_FILE_THAI;

              break;

              case TXT_LANG_GERMAN:

              strFile = TXT_FILE_GERMAN;

              break;

              case TXT_LANG_FRANCE:

              strFile = TXT_FILE_FRANCE;

              break;

              case TXT_LANG_ITALY:

              strFile = TXT_FILE_ITALY;

              break;

              case TXT_LANG_ARABIA:

              strFile = TXT_FILE_ARABIA;

              break;

              case TXT_LANG_PORTUGAL:

              strFile = TXT_FILE_PORTUGAL;

              break;

              case TXT_LANG_HINDI:

              strFile = TXT_FILE_HINDI;

              break;

              case TXT_LANG_TURKISH:

              strFile = TXT_FILE_TURKISH;

              break;

              case TXT_LANG_VIETNAM:

              strFile = TXT_FILE_VIETNAM;

              break;

              case TXT_LANG_SWIDISH:

              strFile = TXT_FILE_SWIDISH;

              break;

              case TXT_LANG_POLISH:

            linux操作系統(tǒng)文章專題:linux操作系統(tǒng)詳解(linux不再難懂)


            評論


            相關推薦

            技術專區(qū)

            關閉