2 Apr
2001
2 Apr
'01
7:14 p.m.
On Sun, 01 Apr 2001, you wrote:
At 01:59 PM 31/03/2001 +0100, you wrote:
<snip>
Compiling and running Winemine under Windows 95 this problem doesn't occur. Win95 truncates the value at the first null.
Under NT4 SP6, if I write (for example) '47' + 0 + 13 bytes of garbage, I get exactly that when querying with the same buffer length (16). If I use a longer buffer, one binary 0 is appended. If I use a shorter buffer, nothing is copied and the function does not succeed (ERROR_MORE_DATA).
Of course under Regedit the garbage is not displayed; regedit displays only '47' in this case.
Ah, I didn't know Regedit was not giving the true value. That complicates matters even more. It seems I'll have to do some experiments. -- Dave Pickles
9021
Age (days ago)
9021
Last active (days ago)
0 comments
1 participants
participants (1)
-
davep