[PyQt] pyqtdeploy, Windows, ctypes and sys.dllhandle

MOHAMED BLACK bl3a3ck at gmail.com
Wed Sep 30 08:01:19 BST 2015


Hi,

i succefully did that with tweaked ctypes and comtypes
to use them with static build of python3.4,qt,pyqt
i can send you a zip package containing them?

On Tue, Sep 29, 2015 at 8:00 PM, Robert Kent <rob at gulon.co.uk> wrote:

> Hi All,
>
> 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:
>
>>   File “:/ctypes/__init__.pyo”, line 435, in <module>
> Attribute Error: ‘module’ has no attribute ‘dllhandle’
>
> 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.
>
> 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?
>
> Cheers, Rob
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150930/482b9ba4/attachment.html>


More information about the PyQt mailing list