String tables can be used to store and retrieve large collections of strings in your application.
A string table looks as follows:
You can compile this (we assume the file is called tests.rc) as follows:
And this is the way to retrieve the strings from your program:
The call to FindResource searches for the stringtable in the compiled-in resources. The LoadString function then reads the string with index i out of the table, and puts it in a buffer, which can then be used. Both calls are in the windows unit.