[omniORB] Problem with reading registry in Windows 7

Jens Kristian Villadsen jenskristianvilladsen at gmail.com
Mon Oct 26 23:17:58 GMT 2009


I've tried debugging it a bit and I found the following:

Instead of accessing the \LOCAL_MACHINE\SOFTWARE\omniORB it accessed the 
\HKEY_CLASSES_ROOT\SOFTWARE always. But what seems to be the nature of 
this? Iv'e tried the "Run as Administrator"-kinda trick, but so far 
nothing has helped me.

Duncan Grisby skrev:
> 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.
>
>   




More information about the omniORB-list mailing list