<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi All,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class=""><font face="Consolas" class="">…</font></div><div class=""><font face="Consolas" class="">  File “:/ctypes/__init__.pyo”, line 435, in <module></font></div><div class=""><font face="Consolas" class="">Attribute Error: ‘module’ has no attribute ‘dllhandle’</font></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Cheers, Rob</div></body></html>