我使用以下代码在python中加载一个DLL:
if os.path.exists(dll_path): my_dll = ctypes.cdll.LoadLibrary(dll_path)
但我不断收到以下错误
WindowsError:[错误126]找不到指定的模块
dll出现在指定的路径上,但我不明白为什么我收到错误.
python ctypes
ctypes ×1
python ×1