[racket] Racket v5.0.99.900 is available f or testing
We've restored `write-resource' and `get-resource' for v5.1, including
support for ".ini" files.
At Sat, 05 Feb 2011 12:23:59 +0300, Ковалев Юрий wrote:
> For write to registry I use "shell-execute" and "reg" utility. I forgot what
> the problem is to use "write-resource", but it was.
>
> "read-resource" from registry I use less frequently, but no doubt, it needed,
> for example, for read system information.
>
> write-resource/read-resource I use mainly for ini-files. I plan replace this
> method of store preferences to more intelligent,
> but anyway, I think there is other users, that need this functionality. In
> addition, it may be need, to read ini-files that was
> created by another applications.
>
> I found "GetProfileString" and "WritePrivateProfileString" in winapi. It seems
> not too difficult to use they for this purpose.
>
>
> Fri, 4 Feb 2011 14:57:52 -0700 письмо от Matthew Flatt <mflatt at cs.utah.edu>:
>
> > > > 2011/2/3 Ковалев Юрий <yoschi at mail.ru>:
> > > > > Where is 'write-resource' function? It don't work and even could not be
> > > > > found in documentation.
> > > > >
> > > > > Windows version of Racket.
> >
> > I've implemented replacements for `get-resource' and `write-resource'
> > that work only for the Windows registry (i.e., under Windows when the
> > first argument is a special string like "HKEY_CLASSES_ROOT" and when no
> > alternate file is specified).
> >
> > Does that match the way that you are using `write-resource'?
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users