On 5/10/07, Tom Spear speeddymon@gmail.com wrote:
MAX_STRING_LEN is defined in resource.h at 255. According to http://msdn2.microsoft.com/en-us/library/ms724872.aspx the limit for the length of a subkey name is 255.
Please let me know if I should make a new define instead of using
MAX_STRING_LEN.
Yes, you should make a new define. MAX_STRING_LEN is the maximum length for a string from the resource file, which is totally unrelated to the limit for the length of a subkey name.