Python Ctypes Load Library

前端 未结 1 1988
粉色の甜心
粉色の甜心 2021-01-23 16:50

I am using windows 7 64 bit machine. I installed Visual studio 2010 and developed a simple win32 dll to add 2 numbers.. The dll is created and i used a test application to test

相关标签:
1条回答
  • 2021-01-23 17:49

    You'll get this error if you try to open a 64-bit DLL using a Python interpreter compiled for a 32-bit machine, or vice versa. So, if this is a 64-bit DLL you need to make sure you are running a 64-bit Python.

    0 讨论(0)
提交回复
热议问题