ReadData: Reading from a Resource File

Download

Click on the following link to download the example: ReadData.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

ReadData is an example of how to load data from resource files into a class. It loads the resource identified as resource FIRST from the resource file. This is a simple resource of type DATA. The example constructs a CResData object to hold the individual items corresponding to the items in a DATA structure.

The CResData object can also display the individual items at the test console. All WORD, BYTE and LONG data is interpreted as signed values.

Class Summary

RResourceFile

TTResourceReader