c和python混合编程ctypes不是有效的win32应用_python安装的32位系统调用DLL的时候还是提示不是有效的 Win32 应用程序...

[Python] 纯文本查看 复制代码D:\python35\python.exe "D:\PyCharm 5.0.3\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 50009 --file C:/Users/Administrator/Desktop/完美验证码识别系统V3.1(1)/Python调用例程/test.py

pydev debugger: process 12116 is connecting

Connected to pydev debugger (build 143.1559)

Traceback (most recent call last):

File "D:\PyCharm 5.0.3\helpers\pydev\pydevd.py", line 2407, in

globals = debugger.run(setup['file'], None, None, is_module)

File "D:\PyCharm 5.0.3\helpers\pydev\pydevd.py", line 1798, in run

launch(file, globals, locals) # execute the script

File "D:\PyCharm 5.0.3\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)

File "C:/Users/Administrator/Desktop/完美验证码识别系统V3.1(1)/Python调用例程/test.py", line 10, in

dll = ctypes.windll.LoadLibrary('WmCode.dll')

File "D:\python35\lib\ctypes\__init__.py", line 429, in LoadLibrary

return self._dlltype(name)

File "D:\python35\lib\ctypes\__init__.py", line 351, in __init__

self._handle = _dlopen(self._name, mode)

OSError: [WinError 193] %1 不是有效的 Win32 应用程序。

findFrame: frame not found.

Looking for thread_id:pid12116_seq2, frame_id:1926208902216

Current thread_id:pid12116_seq2, available frames:

1926240371080 - 1926240399192 - 1926214086840 - 1926240354760 - 1926240744952

1926241736680 -

findFrame: frame not found.

Looking for thread_id:pid12116_seq2, frame_id:1926208902216

Current thread_id:pid12116_seq2, available frames:

1926240371080 - 1926240399192 - 1926214086840 - 1926240354760 - 1926240744952

1926241736680 -

进程已结束,退出代码-1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值