From 4a3aeba6e432a453149bbe826b33d29037914d26 Mon Sep 17 00:00:00 2001 From: chuan Date: Thu, 4 Dec 2025 16:48:13 +0800 Subject: [PATCH] 1 --- andor-test/01_init_and_discover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/andor-test/01_init_and_discover.py b/andor-test/01_init_and_discover.py index e507677..dc5b1b6 100644 --- a/andor-test/01_init_and_discover.py +++ b/andor-test/01_init_and_discover.py @@ -3,7 +3,7 @@ import os # Load DLL dll_path = os.path.join(os.path.dirname(__file__), "libs", "atcore.dll") -atcore = ctypes.cdll.LoadLibrary(dll_path) +atcore = ctypes.windll.LoadLibrary(dll_path) # Constants AT_SUCCESS = 0