Saving Zero Length Strings

Summary

Id: 2518.2
Type: Issue Issue
Current Status: Resolved

Detail

9 Nov 2003 Open Shane Marsden

Just a quick fix (I think).

It states in the zip file that an update has been made regarding saving strings to the registry, presumably by adding 1 to the length of the string to cater for the expected null. However, the following line still specifies ‘s’ as the szData parameter so that extra character could contain anything. Changing this to ‘s & vbNullChar’ fixed this for me…

Thanks,

Shane

24 Jan 2004 Resolved Steve McMahon

Updated as suggested.