Symbian3/SDK/Source/GUID-3AF1F492-3D7D-5F8C-B1AE-16FBD8224775.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    64 </ul> <p>The resource text can be changed and the resources recompiled without
    64 </ul> <p>The resource text can be changed and the resources recompiled without
    65 altering or recompiling the C++ program. For example, to alter the language
    65 altering or recompiling the C++ program. For example, to alter the language
    66 used by text strings. </p> </section>
    66 used by text strings. </p> </section>
    67 <section><title>Resource File Interface</title><p>Resource files contain data
    67 <section><title>Resource File Interface</title><p>Resource files contain data
    68 in numbered resources. A resource file has the following format:</p><fig id="GUID-9CFB3B14-9C09-42E2-A87E-ED07BD2E7E36">
    68 in numbered resources. A resource file has the following format:</p><fig id="GUID-9CFB3B14-9C09-42E2-A87E-ED07BD2E7E36">
    69 <image href="GUID-FB479891-8788-5548-B875-A5C637EC2DE6_d0e183692_href.png" placement="inline"/>
    69 <image href="GUID-FB479891-8788-5548-B875-A5C637EC2DE6_d0e177098_href.png" placement="inline"/>
    70 </fig><p>A resource file is generated from text input using the resource compiler.
    70 </fig><p>A resource file is generated from text input using the resource compiler.
    71 The index can be used to efficiently find a resource given its numeric ID.
    71 The index can be used to efficiently find a resource given its numeric ID.
    72 There can be 1 to 4095 resources in a resource file. Each resource contains
    72 There can be 1 to 4095 resources in a resource file. Each resource contains
    73 binary data whose length is determined by subtracting the start position of
    73 binary data whose length is determined by subtracting the start position of
    74 the resource from the start of the next resource (or from the start of the
    74 the resource from the start of the next resource (or from the start of the
    84 must be used to simplify the process of resource data analysis.  </p> </section>
    84 must be used to simplify the process of resource data analysis.  </p> </section>
    85 <section id="GUID-3E43B598-5857-5660-B9F0-432FD9AC56AA"><title>File types
    85 <section id="GUID-3E43B598-5857-5660-B9F0-432FD9AC56AA"><title>File types
    86 in resource file usage</title> <p>The file types involved in resource file
    86 in resource file usage</title> <p>The file types involved in resource file
    87 usage are defined in the following diagram: </p> <fig id="GUID-4C93BFC7-89BD-5E88-BA68-D6273F13BB8D">
    87 usage are defined in the following diagram: </p> <fig id="GUID-4C93BFC7-89BD-5E88-BA68-D6273F13BB8D">
    88 <title>              File types            </title>
    88 <title>              File types            </title>
    89 <image href="GUID-4A5A50EB-261E-5739-904E-1D14D1A6BAD9_d0e183738_href.png" placement="inline"/>
    89 <image href="GUID-4A5A50EB-261E-5739-904E-1D14D1A6BAD9_d0e177144_href.png" placement="inline"/>
    90 </fig> <p>These files work together as follows: </p> <ul>
    90 </fig> <p>These files work together as follows: </p> <ul>
    91 <li id="GUID-CA9BB1F1-0535-5F18-9CD2-AC2C02DACE8D"><p>the C++ compiler and
    91 <li id="GUID-CA9BB1F1-0535-5F18-9CD2-AC2C02DACE8D"><p>the C++ compiler and
    92 linker, together, take <filepath>.cpp</filepath> source files and produce <filepath>.exe</filepath> output
    92 linker, together, take <filepath>.cpp</filepath> source files and produce <filepath>.exe</filepath> output
    93 (or <filepath>.dll</filepath>, or <filepath>.app</filepath>, or another such
    93 (or <filepath>.dll</filepath>, or <filepath>.app</filepath>, or another such
    94 extension). </p> </li>
    94 extension). </p> </li>