in reply to Re: Win32API::Registry -- RegOpenKeyEx fails when called 2 times.
in thread Win32API::Registry -- RegOpenKeyEx fails when called 2 times.

Well I tried Win32::TieRegistry also but it is not working on IA64 machine. While Win32API::Registry is able to get the key values on IA64 machine as well. Not sure if I was missing anything.

use Win32::TieRegistry( Delimiter=>"#", ArrayValues=>0 ); $pound= $Registry->Delimiter("/"); $swKey= $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Ex +plorer/"} or die "Can't read LMachine/System/Disk key: $^E\n"; $data= $swKey->{"/Version"} or die "Can't read LMachine/System/Disk// +Information value: $^E\n"; print "\n........data::$data";

Same code works fine on x86 machine while fails on IA64.
  • Comment on Re^2: Win32API::Registry -- RegOpenKeyEx fails when called 2 times.
  • Download Code