[Fix]bugs in load apex dll

This commit is contained in:
vn.py 2019-03-30 23:15:39 +08:00
parent 9b216c1668
commit 8254d2310d

View File

@ -5,8 +5,8 @@ from ctypes import (cdll, CFUNCTYPE,
c_void_p, create_string_buffer, byref) c_void_p, create_string_buffer, byref)
DLL_PATH = Path(__file__).join("AbossFixApi.dll") DLL_PATH = Path(__file__).parent.joinpath("FixApi.dll")
APEX = cdll.LoadLibrary(DLL_PATH) APEX = cdll.LoadLibrary(str(DLL_PATH))
REPLY_FUNC = CFUNCTYPE(c_bool, c_long, c_long, c_int) REPLY_FUNC = CFUNCTYPE(c_bool, c_long, c_long, c_int)
PUSH_FUNC = CFUNCTYPE(c_bool, c_long, c_long, c_long, c_char_p) PUSH_FUNC = CFUNCTYPE(c_bool, c_long, c_long, c_long, c_char_p)