My Python script works just fine, but got error when running exe generated
by pyinstaller.
This is the source code:
import ctypes
XReal = ctypes.CDLL('AirAPI_Windows.dll')
ret = XReal.StartConnection()
XReal.DGetEuler.argtypes = [ctypes.POINTER(ctypes.c_float)]
euler_arr = (ctypes.c_float * 3)()
ptr = ctypes.cast(euler_arr, ctypes.POINTER(ctypes.c_float))
for ix in range(200):
XReal.DGetEuler(ptr)
AirAPI_Windows.dll is built from GitHub - MSmithDev/AirAPI_Windows
<https://github.com/MSmithDev/AirAPI_Windows/tree/master>
Any suggestions?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/250d877e-6db6-4a51-b0f9-7bad4c7f2757n%40googlegroups.com.