Re: [PATCH] Uninstaller: Use a define'd length instead of a magic number

2007-05-10 Thread Tom Spear
On 5/10/07, James Hawkins <[EMAIL PROTECTED]> wrote: 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. Should the new define be put in resource.h, main.c, or somew

Re: [PATCH] Uninstaller: Use a define'd length instead of a magic number

2007-05-10 Thread James Hawkins
On 5/10/07, Tom Spear <[EMAIL PROTECTED]> 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_