This commit is contained in:
2025-12-04 17:02:49 +08:00
parent 8b90b3368a
commit ea051e14b0
15 changed files with 14518 additions and 3 deletions

View File

@@ -1,14 +1,14 @@
import ctypes
import os
# Load DLL
# Load DLL with stdcall convention
dll_path = os.path.join(os.path.dirname(__file__), "libs", "atcore.dll")
atcore = ctypes.windll.LoadLibrary(dll_path)
atcore = ctypes.WinDLL(dll_path)
# Type definitions
AT_H = ctypes.c_int
AT_64 = ctypes.c_longlong
AT_WC = ctypes.c_wchar
AT_BOOL = ctypes.c_int
# Constants
AT_SUCCESS = 0