diff --git a/vnpy/api/apex/vnapex.py b/vnpy/api/apex/vnapex.py index cd4e3469..2a425636 100644 --- a/vnpy/api/apex/vnapex.py +++ b/vnpy/api/apex/vnapex.py @@ -5,8 +5,8 @@ from ctypes import (cdll, CFUNCTYPE, c_void_p, create_string_buffer, byref) -DLL_PATH = Path(__file__).join("AbossFixApi.dll") -APEX = cdll.LoadLibrary(DLL_PATH) +DLL_PATH = Path(__file__).parent.joinpath("FixApi.dll") +APEX = cdll.LoadLibrary(str(DLL_PATH)) 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)