Load 64-bits Dll on Python2.2(32-bits)
-
25-06-2021 - |
Question
I am using Python 2.2, a 32-bit process, but I need to load a 64bit dll from a printer. It might seem strange, but is this possible?
Solution
In a word, no.
ctypes
using LoadLibrary
is used to connect to an external DLL, but if you are a 32-bit process then you will be using 32-bit addresses, so a 64-bit binary could not be mapped against your address space.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow