1.直接使用函数名,函数名可以用dependency walker等工具查看。
import ctypes dll = CTYPES.CDLL("test.dll") res = test(3, 4)
2.使用Ordinal,Ordinal可以用dependency walker等工具查看。
import ctypes dll = CTYPES.CDLL("test.dll") res = dll[1](3, 4)
2023-11-20 09:49:46
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)
下一篇:Java中类名与文件名的关系