<div dir="ltr">Hello All,<div><br></div><div>I&#39;m going to answer my own question because it seems nobody has encountered this problem, and the mailing list is so quiet.</div><div><br></div><div>Steve suggested to me to recompile the src\tools\win32. So that&#39;s what I did and I copied the .exe files generated to bin\x86_win32.</div>
<div>I then compiled all the omniORB and get the RegQueryValueEx error.</div><div><br></div><div>The reason for this is when you check  the src\tools\win32\bccwrapper.c in the void GetMounts(void) function,</div><div>it looks for this path in the registry (check regedit):</div>
<div>Software\\Cygnus Solutions\\CYGWIN.DLL setup\\b15.0\\mounts\\%02X.<br></div><div><br></div><div>When I checked that using regedit, I noticed that in the mounts-&gt;00, 01, 02, 03 etc.. keys, there are no &#39;unix&#39; and &#39;native&#39; string values inside those keys.</div>
<div>So I decided to delete all the keys and retained just the 00 and added a &#39;unix&#39; and &#39;native&#39; string value.</div><div>After which, I recompiled the src\tools\win32 and copied over the created .exe files to bin\x86_win32 and finally when I recompiled all the omniOrb, it started compiling (need to copy the ssl libs too) and finished successfully.</div>
<div><br></div><div>I really don&#39;t even know how the following got into my registry:</div><div><div>Software\\Cygnus Solutions\\CYGWIN.DLL setup\\b15.0\\mounts\\%02X.</div></div><div><br></div><div>Best regards,</div>
<div>Mark</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 3:15 PM, Mark Gabriel Paylaga <span dir="ltr">&lt;<a href="mailto:mpaylaga@gmail.com" target="_blank">mpaylaga@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>Has anybody encountered this error when compiling omniORB in DOS?</div><div>
RegQueryValueEx failed - error 109.</div><div>Is this anything to do with dos2unix, registry, compiler or anything else?</div>
<div>I&#39;ve already followed the readme.win32.</div><div><br></div><div>We&#39;re trying to compile a 64-bit omniORB 4.1.6<br></div><div>OS:  Windows 7 64-bit</div><div>python version: 2.7</div><div>Visual Studio:  2008</div>

<div>gnuwin32 lite for make utilities.</div><div><br></div><div>Regards,</div><div>Mark</div><div><br></div><div>Some errors below:</div><div><div>../../../../bin/x86_win32/omkdepend -D__cplusplus -D_MSC_VER -DIDLMODULE_VERSION</div>

<div>=&quot;0x2630&quot; -DMSDOS -DOMNIIDL_EXECUTABLE -Ic:/python27/include -Ic:/python27/PC -I</div><div>c:/python27/include/python2.7 -DPYTHON_INCLUDE=&lt;Python.h&gt; -I. -I. -I../../../../</div><div>include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -</div>

<div>D_CRT_SECURE_NO_DEPRECATE=1 idlc.cc idlpython.cc idlfixed.cc idlconfig.cc idldum</div><div>p.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idl</div><div>util.cc idlerr.cc <a href="http://lex.yy.cc" target="_blank">lex.yy.cc</a> <a href="http://y.tab.cc" target="_blank">y.tab.cc</a></div>

<div>RegQueryValueEx failed - error 109</div></div><div>-----------------------------------------------------------------------------------------------</div><div><div>make[4]: Entering directory `/cygdrive/c/Software/COTS/omniORB/omniORB_4.1.6/src</div>

<div>/tool/omniidl/cxx/cccp&#39;</div><div>../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo</div><div>-DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=</div><div>

0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp</div><div>.o cexp.c</div><div>RegQueryValueEx failed - error 109</div></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>