[英]Load 64-bits Dll on Python2.2(32-bits)
I am using Python 2.2 , a 32-bit process , but I need to load a 64bit dll from a printer. 我正在使用32位进程 Python 2.2 ,但是我需要从打印机加载64位dll 。 It might seem strange, but is this possible?
可能看起来很奇怪,但这可能吗?
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. 使用
LoadLibrary
ctypes
用于连接到外部DLL,但是如果您是32位进程,则将使用32位地址,因此无法将64位二进制文件映射到您的地址空间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.