Hi, My problem : On windows, I have *.dll and I use it from python using ctypes. Now I would use it from linux but is it possible to create *.so from my dll in order to make my python script working on linux ? I don't have source files of the dll I only have the *.lib, *.h and *.dll files. there is a way ? Thank you Seb
doudz wrote:> Now I would use it from linux but is it possible to create *.so from my dll in order to make my python script working on linux ?No, you can't just wrap a dll in a "thin wrapper" to make it a .so. Unless that wrapper is ... while Wine. The only exception if that dll does not do any win32api calls and does not depend on any other dll.
Thank you for your answer. I think my dll use some win32api to access the network, so there is no solution ... I have looked at winedump, if I correctly understand, it can be used for making some dll.so but that what you said, the dll must not use win32api ?