in reply to Pass Hexadecimal through OLE method?
Bit of a shot in the dark, but if I'm not mistaken, the Const HKEY_LOCAL_MACHINE = &H80000002 will simply convert the hex value to a decimal one, storing it most likely in a long int.
Have you tried:
$registry->EnumKey(hex('80000002'), $base, @result);
In Section
Seekers of Perl Wisdom