11 lines
310 B
Python
11 lines
310 B
Python
|
|
import os
|
||
|
|
import ctypes as C
|
||
|
|
|
||
|
|
SDK_DIR = r"C:\ZendionINC\agrobot_base\Python\gal5000\dlls" # <-- ajuste pro seu caminho real
|
||
|
|
|
||
|
|
# Garante que o processo Python consegue achar as DLLs dependentes
|
||
|
|
os.add_dll_directory(SDK_DIR)
|
||
|
|
|
||
|
|
dll = C.WinDLL(os.path.join(SDK_DIR, "VT_SDK64.dll"))
|
||
|
|
print("DLL carregada OK:", dll)
|