[PyQt] Dll created with SIP comes up with not a valid Win32 application

Arun Viswanathan aviswanathan at foliage.com
Mon Jun 10 17:56:12 BST 2013


Versions:
QT Version: 5.0.2 (32 Bit)
Python: 2.6.6 Win32
SIP: 4.13.3
Computer is running Windows 2007 64 bit. Also tried the same on computer running Win XP 32.
Followed the example shown for pyqt and SIP as explained in http://pyqt.sourceforge.net/Docs/sip4/using.html#a-simple-c-example. 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:
ImportError: DLL load failed: %1 is not a valid Win32 application.

Any help in resolving this is appreciated.

Thanks,
Arun


________________________________

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.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130610/6890518b/attachment.html>


More information about the PyQt mailing list