<div dir="ltr"><div><div>Hi,<br><br>i succefully did that with tweaked ctypes and comtypes<br></div>to use them with static build of python3.4,qt,pyqt<br></div>i can send you a zip package containing them?<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 8:00 PM, Robert Kent <span dir="ltr"><<a href="mailto:rob@gulon.co.uk" target="_blank">rob@gulon.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi All,<div><br></div><div>I’ve hit a snag when trying to wrap the comtypes library with pyqtdeploy on (on Windows). This library depends on ctypes and when I include that in my project and run the application I get the following runtime error:</div><div><br></div><div><font face="Consolas">…</font></div><div><font face="Consolas">  File “:/ctypes/__init__.pyo”, line 435, in <module></font></div><div><font face="Consolas">Attribute Error: ‘module’ has no attribute ‘dllhandle’</font></div><div><br></div><div>When I go to the relevant line in the ctypes source file I find that ‘dllhandle’ belongs to the ‘sys’ module and I can call it from the command line.</div><div><br></div><div>So, my question(s) is/are: is this a bug or is this omitted for a reason? If the latter, is there a tweaked version of ctypes available that I should be using or a workaround? Or (finally), have I simply broken something somewhere?</div><div><br></div><div>Cheers, Rob</div></div><br>_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div></div></div></div></div></div>