<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Versions:</p>
<p class="MsoNormal">QT Version: 5.0.2 (32 Bit)</p>
<p class="MsoNormal">Python: 2.6.6 Win32</p>
<p class="MsoNormal">SIP: 4.13.3</p>
<p class="MsoNormal">Computer is running Windows 2007 64 bit. Also tried the same on computer running Win XP 32.
</p>
<p class="MsoNormal">Followed the example shown for pyqt and SIP as explained in <a href="http://pyqt.sourceforge.net/Docs/sip4/using.html#a-simple-c-example">
http://pyqt.sourceforge.net/Docs/sip4/using.html#a-simple-c-example</a>. Used mingw32-make and install to make the word.pyd file. Have a python script that imports the pyd file. When I execute the script, get the following error:</p>
<p class="MsoNormal">ImportError: DLL load failed: %1 is not a valid Win32 application.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any help in resolving this is appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Arun</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
<hr size="1">
<p>This message is intended only for the designated recipient(s). It may contain company confidential or proprietary information and may be subject to confidentiality protections.
</p>
<p>If you are not a designated recipient, you may not review, copy or distribute this message. If you receive this in error, please notify the sender by reply e-mail and delete this message. Thank you.</p>
</body>
</html>