[omniORB] Problem with reading registry in Windows 7

Jens Kristian Villadsen jenskristianvilladsen at gmail.com
Tue Oct 27 10:30:18 GMT 2009


I must admit, I am not all that familiar with the Windows Registry, but 
as you point out, the behaviour has changed for Windows 2003. As I am 
running Windows 7 x64 I cannot see how this applies to this case. 
Anyhow, from my perspective, I would like to know the solution to the 
problem,. and like to hear if anyone else has had this issue - and how 
they solved it.


Schäfer-Hutter skrev:
> Hello!
>
> The behaviour for HKEY_CLASSES_ROOT changed with Windows 2003 Server. 
> See http://technet.microsoft.com/en-us/library/cc739822%28WS.10%29.aspx
>
> However, i don't see the connection to the SOFTWARE subkey. The above 
> applies to the subkey SOFTWARE/CLASSES only, IMHO.
>
> Best regards,
> Peter
>
> 2009/10/26 Jens Kristian Villadsen <jenskristianvilladsen at gmail.com 
> <mailto:jenskristianvilladsen at gmail.com>>
>
>     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.
>
>          
>
>
>
>     _______________________________________________
>     omniORB-list mailing list
>     omniORB-list at omniorb-support.com
>     <mailto:omniORB-list at omniorb-support.com>
>     http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>
>




More information about the omniORB-list mailing list