MSL-LoadLib¶
This package is used to load a shared library in Python. It is basically just a
thin wrapper around ctypes
(for libraries that use the __cdecl
or __stdcall
calling convention), Python for .NET (for libraries that use
Microsoft’s .NET Framework, CLR
), Py4J (for Java .jar
or
.class
files) and comtypes (for libraries that use
the Component Object Model).
However, the primary advantage is that it is possible to communicate with a 32-bit
shared library in 64-bit Python. For various reasons, mainly to do with the
differences in pointer sizes, it is not possible to load a 32-bit shared library
(e.g., .dll, .so, .dylib files) in to a 64-bit process, and vice versa. This package
contains a Server32
class that hosts a 32-bit library and
a Client64
class that sends a request to the server to
communicate with the 32-bit library as a form of inter-process communication.
Contents¶
- Install
- Load a library
- Access a 32-bit library in 64-bit Python
- API documentation
- Source code for the example libraries
- Re-freezing the 32-bit server
- License
- Authors
- Changelog
- Version 0.8.0.dev0
- Version 0.7.0 (2020.03.17)
- Version 0.6.0 (2019.05.07)
- Version 0.5.0 (2019.01.06)
- Version 0.4.1 (2018.08.24)
- Version 0.4.0 (2018.02.28)
- Version 0.3.2 (2017.10.18)
- Version 0.3.1 (2017.05.15)
- Version 0.3.0 (2017.05.09)
- Version 0.2.3 (2017.04.11)
- Version 0.2.2 (2017.03.03)
- Version 0.2.1 (2017.03.02)
- Version 0.2.0 (2017.03.02)
- Version 0.1.0 (2017.02.15)