From: Lyle Johnson Date: 2002-09-12T01:37:08+09:00 Subject: Re: [FXRuby] marshalling objects to the fox registry Joel VanderWerf wrote: > > The Fox registry lets you save strings between app invocations. I tried > persisting an array by marshalling it to a string and writing the string > to the registry, but when I ran the app again, it choked on the null > chars in the string. Does this mean Fox strings can't have null chars? Correct, FOX strings can't have embedded nulls. See Pit Capitain's response to your post for what sounds to me like a good workaround ;) > Does the registry's setAsciiMode method have anything to do with this? I > tried calling setAsciiMode(false), but it didn't seem to help. No, this method lets you pick between storing the FOX registry data in an ASCII file (similar to the .INI files from Windows 3.1 days) versus storing it directly in the Windows Registry. By default (on Windows), stuff saved to the FOX registry is plopped into the Windows Registry.