W
woof
I need an example on how to collect and process REG_BINARY data
in a Win32 registry. The registry value in question reads:
TimeOfLastScan REG_BINARY 21 0a 1e 0d 00 1e 00 00
It appears to be 8 bytes... an unsigned long ("L")?
Reading strings seems easy enough as in
my $parent = $rkeyNorton->{"CurrentVersion//Parent"};
I did try and read this binary value with (cvKey set to CurrentVersion);
(my $gvtimeOfLastScan, my $type) = $cvKey->GetValue("TimeOfLastScan");
But have been unable to feed localtime() anything that gets
me my date string. I know I'm not packing this correctly.
Thanks.
in a Win32 registry. The registry value in question reads:
TimeOfLastScan REG_BINARY 21 0a 1e 0d 00 1e 00 00
It appears to be 8 bytes... an unsigned long ("L")?
Reading strings seems easy enough as in
my $parent = $rkeyNorton->{"CurrentVersion//Parent"};
I did try and read this binary value with (cvKey set to CurrentVersion);
(my $gvtimeOfLastScan, my $type) = $cvKey->GetValue("TimeOfLastScan");
But have been unable to feed localtime() anything that gets
me my date string. I know I'm not packing this correctly.
Thanks.