INFO: Length of STRINGTABLE Resources (20011)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q20011

SUMMARY

To find the length of a string in the STRINGTABLE you need to do a FindResource() and then a SizeofResource() to find the total size in bytes of the current block of 16 strings. Remember that STRINGTABLEs are stored specially; to FindResource() you will ask for RT_STRING as the Type, and the (string number / 16) + 1 as the name.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbinfo kbResource kbString KB20011