From: Phillip Seaver (phil_at_[hidden])
Date: 2006-09-08 10:30:20
Rene Rivera wrote:
> Bojan Resnik wrote:
>> Sometimes, especially when needing to detect installed versions of
>> some third-party program, I need functions to enumerate registry
>> subkeys or registry values of a given key. I have written two new
>> builtin functions W32_REGKEYS and W32_REGVALUES which, given a
>> registry key path, return lists of its subkeys and values,
>> for local subkey in [ W32_REGKEYS "HKLM\\Software\\Microsoft" ]
>> ECHO $(subkey) ;
>> for local value in [ W32_REGVALUES "HKCU\\Environment" ]
>> ECHO $(value) ;
>> Attached are patches to builtin.c and w32_getreg.c that add these new
>> functions to bjam.
> How are those different from the existing "W32_GETREG" builtin?
> See the bottom of
Looks to me like the W32_GETREG builtin just lets you get one value,
while those let you enumerate values and keys.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk