Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
32ビットプロセスであるPython2.2を使用していますが、プリンターから64ビットdllをロードする必要があります。奇妙に思えるかもしれませんが、これは可能ですか?
一言で言えば、いいえ。
ctypesusingLoadLibraryは外部DLLへの接続に使用されますが、32ビットプロセスの場合は32ビットアドレスを使用するため、64ビットバイナリをアドレス空間にマッピングできませんでした。
ctypes
LoadLibrary