You've got me confused now too

Are you suggesting that the Windows (CE or XP, etc.) registry is not suitable for storing program config information? I'm inclined to agree with you on this as the registry is a nice idea but a fraught with all sorts of pratical problems. But the registry is all we have under CE so we are stuck with it. There is a getenv() routine available that hits the registry so the port of this part of the code is pretty simple, no re-write required. For a first cut port I would go with that, and it it turns out the config variables are not actually much use, replace the getenv() routing with a custome routine that just fullfils the role for this particualr application.
I've no idea what variables Rob is trying to get hold of but I suspect some of it may be directory settings, e.g. "where are the data files". This (admittedly contrived example) strikes me as a really good place to store in an OS based config stucture such as OS variables (or registry) particulary as CE doesn't have the notion of a current directory in the same way that Unix or win2k/win98 does.
I don't think it is such a big deal to use a wrapper routine that hits the registry to get config (getenv()) information. The celib that Rainer produced works really well, I don't make changes to OS variables/registry very often so I just set up a batch file that runs on the desktop to set the registry on the PocketPC. Then use PHM regedit if I need to make changes on the fly, e.g. I some times change the proxy server settings for the perl module LWP. putenv() is also available in celib if that is something you where alluding to, I'm happy using a registry editing tool though.
Hope I've not confused things any further

Chris