Skip to content

DLL import error. Current version on PIP too old #32

@MysticCoss

Description

@MysticCoss

Hello, the library import in

lib_path = lib_path or find_library("unrar.dll")
is 32bit dll and it won't work if python in 64bit. I have to modify it to UnRAR64.dll for it to work.

I suggest a solution for this problem:
-Detect architechture (x32 or x64) to import correct library
-Create a default path to those libraríe instead of just using MESSY ENVIRONMENT VARIABLE only, which in most case is C:\Program Files (x86)\UnrarDLL for x32 and C:\Program Files (x86)\UnrarDLL\x64 for x64.

And please update the version on PIP.

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions