gmgj aber hob zu reden an und schrieb: > I do not see WinRegValue implemented
So it seems. While WinReg's getValue at least returns a (useless for JS) pointer value, setValue is just a stub function that does nothing. :( http://landfill.mozilla.org/mxr-test/mozilla/source/xpinstall/src/nsJSWinReg.cpp#603 > this code in an install.js > ... > var wintxt = new Array(256); > > var winreg = getWinRegistry(); > > if(winreg != null) > { > winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE); > subkey = "SYSTEM\\CurrentControlSet\\Control\\Session > Manager\\Environment" ; > valname = "Path"; // is a REG_EXPAND_SZ > regValue = WinRegValue(2, wintxt, 256) > regValue = WinRegValue.getValue(subkey, valname); The last two lines wouldn't make much sense even if WinRegValue was implemented. Karsten -- Feel free to correct my English. :) _______________________________________________ dev-tech-xpinstall mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpinstall
