[omniORB] Problem with reading registry in Windows 7

Duncan Grisby duncan at grisby.org
Mon Oct 26 17:08:14 GMT 2009


On Thu, 2009-10-22 at 13:52 +0200, Jens Kristian Villadsen wrote:

> I'm using omniORB 4.1.4 on a Windows 7 x64 machine and it works great 
> besides reading the registry. The values in the registry is set with the 
> sample.reg - meaning that the settings are located in 
> \HKEY_LOCAL_MACHINE\SOFTWARE\omniORB.
> 
> However, in the orboptionsreg.cc in src\lib\omniorb\orbcore\ the #define 
> NEW_REGKEY is assigned to "SOFTWARE\\omniORB" - thereby missing the 
> \HKEY_LOCAL_MACHINE string. Should'nt this be corrected in a newer 
> edition of omniORB?

If you look at the calls to RegOpenKeyEx, you'll see that it opens the
key within HKEY_LOCAL_MACHINE.

What exactly is the problem you are seeing?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list