are there any limitations to writing a registry value name?

G

Guest

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
 
?

=?ISO-8859-2?Q?Mihajlo_Cvetanovi=E6?=

Shawn said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top