<div dir="ltr">Apologies in advance for what must be a frequently asked question.<div><br></div><div>Windows 7, Python 2.7, omniORBpy-4.2.0-win64-py27</div><div><br></div><div>I've place the entire distribution in c:\Python27\lib\site-packages\omniORB</div>
<div><br></div><div>I've created a PYTHONPATH environment variable:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>PYTHONPATH c:\python27\lib\site-packages\omniORB\lib\python;c:\python27\lib\site-packages\omniORB\lib\x86_win32</div>
<div><br></div></blockquote>I've merged 'sample.reg' into the Windows Registry</div><div><br></div><div>Opening a DOS box, launching Python and attempting to import omniORB:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div>>>> import omniORB</div><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div><div> File "c:\python27\lib\site-packages\omniORB\lib\python\omniORB\__init__.py", line 46, in <module></div>
<div> import _omnipy</div><div>ImportError: DLL load failed: %1 is not a valid Win32 application.</div><div>>>></div></div><div><br></div></blockquote>What am I missing?</div><div><br></div><div><br></div><div>
<br></div></div>