matiasb / python-unrar

A ctypes wrapper for UnRAR library, plus a rarfile module on top of it.
http://python-unrar.readthedocs.org/en/latest/
GNU General Public License v3.0
74 stars 30 forks source link

Wrong ctype definition for UNRARCALLBACK #21

Open davide-romanini opened 5 years ago

davide-romanini commented 5 years ago

When integrating on comictagger I found a nasty bug related to the ctype declaration of UNRARCALLBACK on Windows platform.

See comictagger monkey patch for details. It caused very bad headaches when integrated in a pyinstaller application on win10 64 bit, so maybe it could be fixed directly on the library.

medoc92 commented 5 months ago

Hi. Thanks to davide-romanini for fixing this, was pulling my hair.

This is definitely needed for things to work on windows x64 (using python-unrar in Recoll).