"Dan Kegel" dank@kegel.com writes:
Alexandre wrote:
I don't think a non null-terminated MULTI_SZ string is very useful. Do you really have an app that depends on this?
http://www.xpregistrycleaner.com/embedded-null-characters/ claims "some software vendors use the embedded-null registry key technique as a way to enforce the software license agreement and to reduce the ability of users to tamper with the license information stored in these registry keys."
Embedded nulls should work just fine. The case that doesn't work is string values that aren't properly null-terminated.