--- In [EMAIL PROTECTED], "entropyreduction" <[EMAIL PROTECTED]> wrote: > --- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote: > > > OK, it's an old story, but I was too lazy to report it then. > > Why can't I set the value using reg.dll if it's under the key? > > "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping" > > For example, the below used to crash PP: > > reg.set_string(?"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion > > \IniFileMapping\system.ini\boot", "Shell", My_Shell) > > Importing *.reg by using regedit.exe or setting the value using > > reg.exe worked fine, on the contrary. > > Can't replicate bug on my machine. Please try the version of reg.dll > I sent you privately and report if problem still there.
I already sent an e-mail yesterday. Has it not arrived yet? Anyway, yeh, it works fine now! > > I'm now setting the (registry) value using ini.dll and it works > > fine too, except one thing: > > (My_Shell= "USR:Software\Microsoft\Windows > > NT\CurrentVersion\Winlogon") > > Not only set the above value to My_Shell, but also set the values > > "Shell" under the key "HKCU\Software\Microsoft\Windows NT > > \CurrentVersion\Winlogon" to My_Shell which is by no means > > intended. Well, I don't think it's the fault(?) of ini.dll, > > however, is there no way to avoid it? > > No. See docs. On later win OS versions ini operations > on system ini files in %windir% have registry side effects. > Use the registry plugin. I knew this. So, I used ini.dll to set the registry value "Shell" under the "...\system.ini\boot". The problem was not this, but the value "Shell" under the "HKUR\...\Winlogon", which is kind of "self-recursive". The key and the value set are the same! Yeh, I understand now that this is a (unexpected) side effect of Windows. Anyway, now I'm using reg.dll, so don't have to worry about it anymore. Thanks! Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
