2024-11-28 07:00 AM
Dear ST Community,
I have just downloaded the software https://www.st.com/en/embedded-software/stsw-st25sdk001.html and I am trying to run the python demo DLL_Demo.py. When I attempt to load the DLL there is an exception:
ST25R3911_Dll = windll.LoadLibrary(DllName)
File ".\Python310\lib\ctypes\__init__.py", line 452, in LoadLibrary
return self._dlltype(name)
File ".\Python310\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
I _think_ this is because the ST25R3911DiscoComm.dll is 32-bits, but I am using python 64-bit. Python-64 cannot load a 32-bit dll.
Do you have a 64-bit version of this dll please?
Thanks,
Ben
2024-11-29 04:15 AM
Hi,
unfortunately we cannot offer you a 64 bit version.
BR, Ulysses