10g Windows registry ORACLE_HOME

Giganews Newsgroups
Subject: 10g Windows registry ORACLE_HOME
Posted by:  Tom (ziggy.9714…@bloglines.com)
Date: 28 Apr 2004

I installed 10g on a Windows server, and the ORACLE_HOME registry
entry is located in the key HKLM/Oracle/Software/KEY_<homename>. How
can a program get the value of the current ORACLE_HOME if I have
multiple homes installed? There's no way to know which KEY_<homename>
to look at.