[plt-scheme] Accessing the Registry under Windows 2000

From: Dominique Boucher (Dominique.Boucher at sgdl-sys.com)
Date: Thu Jan 9 11:48:07 EST 2003

Hi all,

I'm trying to read configuration variables from the Registry under Windows
2000 using the 'get-resource' function (from the MrEd collection). Either I
don't use it properly or it is somewhat broken.

Here is a simple interaction in DrScheme v202*:

> (define sec "HKEY_LOCAL_MACHINE")
> (define key "SYSTEM\\Setup\\OsLoaderPath")
> (define val (box ""))
> (get-resource sec key val)

On my machine, the HKEY_LOCAL_MACHINE\\SYSTEM\\Setup\\OsLoaderPath does

Any clue?

* I can't switch right now to v203. That's why I only tested under v202.

Dominique Boucher, Ph.D.
Analyste senior
SGDL systèmes

Posted on the users mailing list.