diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-E736B50D-F671-5CCB-A245-BA9791ADA395.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-E736B50D-F671-5CCB-A245-BA9791ADA395.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,29 @@ + + + + + +ReadArray: +Reading the Contents of a Resource File into an Array +
Download

Click on the following link to download +the example: ReadArray.zip

Download some additional files required +by the example: CommonFramework.zip and CommonFile.zip

Click: browse to view the example code.

View the additional +files: browse CommonFramework and browse CommonFile.
+
Description

This example shows how to load data +from resource files into a class. ReadArray loads the resource identified +as SECOND from the resource file; this is an array of DATA structures. (The +resource FIRST is not used in this example)

The example constructs +a CResDataArray object to contain an array of CResData objects, +one for each DATA structure in the array. The CResDataArray object +can also display the individual items of each DATA structure at the test console. +All WORD, BYTE and LONG are interpreted as signed values.

The example +follows on from the Reading +from a resource file example.

+
Class Summary

CResData

CArrayPtrFlat

CResDataArray

RResourceFile

TResourceReader

+
\ No newline at end of file