I have some C code (having various header files and a make file) compiled as a .so
file in Linux(Ubuntu) and a python
program which calls the functions of this shared object using Ctypes
. Now, I want to use this program on windows. In windows, Ctypes
needs a .dll
file instead of .so
in linux.
So, is there a way in which I can convert the .so
files of linux into .dll
files to be used with Ctypes
in Windows ?
No. You will need to recompile the library for Windows.