Page 1 of 1 1
Topic Options
#182370 - 2007-11-09 12:08 AM v4.60: WriteValue of REG_DWORD writes wrong value
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
barrycaruth reports this:
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=182352#Post182352
 Code:
$result = WriteValue ("HKEY_CURRENT_USER\Software\Blah","TestValue","4294967295","REG_DWORD")

4.53 writes ffffffff
4.60 writes 7fffffff

Top
#182408 - 2007-11-09 09:07 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Witto]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
I tested the command-line you wrote.
I got the same results as you.
I think thatīs another Bug.

Top
#188011 - 2008-06-03 01:46 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: paperinik]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Something's definitely wrong here. I'll investigate.

Ruud

Top
#188024 - 2008-06-03 05:17 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Ruud van Velsen]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Weird: this code wasn't changed, it's actually the runtime library behaviour that changed and causes this. Recompiling the 4.53 code produces the same issue.

Anyway, I'll fix this and try to get out a mini-update asap.

Ruud

Top
#191782 - 2009-01-14 02:25 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Ruud van Velsen]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
I tested.

It seems that this bug is fixed in 4.61b1.

Does anyone can confirm my test result?

Top
#191784 - 2009-01-14 03:01 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: paperinik]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Hmmmmm.....
I still get 7fffffff with 4.61 B1.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#191786 - 2009-01-14 03:25 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Mart]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
@Mart:
I have tested with w2k SP4.

Top
#191788 - 2009-01-14 04:22 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: paperinik]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
I tested on WinXP pro SP3.
Like Ruud said above it looks like that this is related to something that MS changed in the OS. So Win2K might be fine when WinXP is not writing the stuff as it should.

I do not have Win2K here so I can’t test. Can you try it on XP SP3?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#191789 - 2009-01-14 04:42 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Mart]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
Tested on xp pro sp3.
All works fine.

file testbug:
$result = WriteValue ("HKEY_CURRENT_USER\Software\Blah","TestValue","4294967295","REG_DWORD")

Test1:
kix32-453.exe testbug.kix
result: ffffffff

test2:
kix32-460.exe testbug.kix
result: 7fffffff

Test3:
kix32-461b1.exe testbug.kix
result: ffffffff

Results tested on w2k sp4 Ger, xp pro SP3 Ger

Top
#191790 - 2009-01-14 05:04 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: paperinik]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Sorry. I had some messed up kix executables on my system. Fixed it and all is fine with 4.61B1 on XP pro SP3.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#191798 - 2009-01-15 08:46 AM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Mart]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
lol.

really makes one wonder, why the behavior was changed in the runtime.

I bet, it's all about some kid doing a security update for something highly unlikely situation and in the mean time breaking half of the system.

xp sp3 has so many things that no longer work properly, thanks to updates.
_________________________
!

download KiXnet

Top
#191809 - 2009-01-15 07:55 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11627
Loc: CA
 Originally Posted By: Lonkero
xp sp3 has so many things that no longer work properly, thanks to updates.


And has hundreds of things that did not work that now do work. Take your poison I guess. In our environment I don't know of anything that is not working and is a direct result of SP3 (your mileage may vary but lucky for us we don't have any issues with it).

Top
#191814 - 2009-01-15 10:09 PM Re: v4.60: WriteValue of REG_DWORD writes wrong value [Re: NTDOC]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
So itīs confirmed that
the bug is fixed in kix461b1.

Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 360 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.072 seconds in which 0.032 seconds were spent on a total of 13 queries. Zlib compression enabled.