0

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?

4
  • 3
    Why are you using Python 2.2? That is 2001 software! Pythn 2.7 will be Python-level compatible with all features existing in 2.2. Commented Aug 9, 2012 at 11:38
  • A work order, the system is done in python 2.2, can not be used other. Commented Aug 9, 2012 at 11:41
  • 2
    Possible duplicate of Is it possible to load a 64-bit dll into a 32-bit process? Commented Aug 9, 2012 at 11:55
  • I've never seen that any DLL can be loaded with Python. Commented Aug 9, 2012 at 11:55

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.