On Wed, 28 Aug 2002 19:06:06 +0100 (MEZ), Veit Kannegieser wrote:

>> BTW, If you send me DBCS files I try to make full DBCS support. If sources also 
>presented then send them too, please. As I know, also presentet DBCS with 
single-byte 
>> chars. May be such file also required.
>http://WWW.Informatik.TU-Cottbus.DE/~vk/test2/oso_dbcs.arj
>it has a pair of korean/english message files (in the .zip)
>and source and cmd file that tries to come close to the original.
Thanks.

>Where can "version 0" files be found ?
OS/2 1.0. OSO001.MSG. Also in Software Installer. This is some structures:

Type
  {Header of message file}
  MsgFileHeader = packed record
    Signature           : Array[1..8] of Char; // File signature #255MKMSGF#0
    ComponentIdentifier : Array[1..3] of Char; // Identifier (SYS, DOS, NET, etc.)
    MessagesNumber      : Word;                // Number of messages
    FirstMessageNumber  : Word;                // Number of the first message
    Offsets16bit        : Boolean;             // Index table is 16-bit offsets for 
small file (<64k)
    Version             : Word;                // File version 2 - New Version 0 - Old 
Version
    IndexTable          : Word;                // Offset of index table
    CountryInfo         : Word;                // Offset of country info block
    NextCountryInfo     : Word;                //
    Reserved2           : Array[1..7] of byte;
  end;
  
  MultipageBlock=packed record
    BlockSize         : Word;
    BlocksCount       : Word;
  end;

  {Country Info block of message file}
  CountryInfoBlock = packed record
    BytesPerChar      : Byte;                  // Bytes per char (1 - SBCS, 2 - DBCS)
    Reserved          : Array[0..1] of byte;
    LanguageFamilyID  : Word;                  // Language family ID (As in CPI 
Reference)
    LanguageVersionID : Word;                  // Language version ID (As in CPI 
Reference)
    CodePagesNumber   : Word;                  // Number of country pages
    CodePages         : Array[1..16] of Word;  // Codepages list (Max 16)
    Filename          : Array[0..260] of Char; // Name of file
  end;


-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]

     unsubscribe sibyl
     end

Reply via email to