1.直接使用函数名,函数名可以用dependency walker等工具查看。
import ctypes dll = CTYPES.CDLL("test.dll") res = test(3, 4)
import ctypes dll = CTYPES.CDLL("test.dll") res = dll[1](3, 4)
python调用dll中特定函数的两种方式(ctypes),布布扣,bubuko.com
原文:http://blog.csdn.net/tobacco5648/article/details/23999275