i am trying to write a test that would cause a method that writes a registry
value name to fail. can anyone tell me if there are any limitations to a
registry value name? length? types of characters? they had a test in place
that attempts to write a huge string (Hamlet's monalog) as a value name. it's
supposed to cause the method to fail but it actually writes the name to the
registry. any ideas?
thanks
Mihajlo Cvetanović - 17 Jun 2005 15:39 GMT
> i am trying to write a test that would cause a method that writes a registry
> value name to fail. can anyone tell me if there are any limitations to a
> registry value name? length? types of characters? they had a test in place
> that attempts to write a huge string (Hamlet's monalog) as a value name. it's
> supposed to cause the method to fail but it actually writes the name to the
> registry. any ideas?
There are limits in the registry:
http://msdn.microsoft.com/library/en-us/sysinfo/base/registry_element_size_limits.asp