1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user