How to call Wine dll from python on Linux?

前端 未结 2 1440
太阳男子
太阳男子 2021-01-02 13:53

I\'m writing a python script in Linux, and need to call some Windows functions available in Wine. Specifically, AllocateAndInitializeSid and LookupAccoun

2条回答
  •  误落风尘
    2021-01-02 14:20

    Doesn't Wine provide *.so versions of the dlls? I seem to have /usr/lib32/wine/advapi32.dll.so, for example.

    If you're on a 64-bit machine, keep in mind that you'll need a 32-bit version of Python to load 32-bit libraries.

提交回复
热议问题