2006年12月27日 星期三 15:57
Pythoners,您好!
那位高手给个提示啊,好多天了,给帮帮忙.读C++写的.so库用什么模块啊?
======= 2006-12-27 13:15:02 您在来信中写道:=======
>Python.cn,您好!
>
> 一个问题没搞定,还是来请教一下
> 我在linux下有个动态链接库:libBase.so,想调用它.据说ctypes模块可以让python调用动态链接库,尝试发现LoadLibrary()成功,但是调用函数时总是说没有定义,
>
> 猜测是因为libBase.so是C++写的,函数头格式和C的编译出来不一样.不知道是不是这样?如果是,有导入C++的模块吗?
>
> 非常感谢!!!
>
> 致
>礼!
>
>
> kevin
> kevin_woso在126.com
> 2006-12-25
>
> 致
>礼!
>
>
> kevin
> kevin_woso在126.com
> 2006-12-27
>_______________________________________________
>python-chinese
>Post: send python-chinese在lists.python.cn
>Subscribe: send subscribe to python-chinese-request在lists.python.cn
>Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
>Detail Info: http://python.cn/mailman/listinfo/python-chinese
= = = = = = = = = = = = = = = = = = = =
致
礼!
kevin
kevin_woso在126.com
2006-12-27
Zeuux © 2025
京ICP备05028076号