I’m attempting to generate a BLE database for a bc127, however I get the following message.
Traceback (most recent call last):
File “D:\ble\ble_database.py”, line 66, in
db_gen_lib = CDLL(“db_gen/bin/Release/db_gen”)
File “C:\Users\rawli\WinPython-64bit-126.96.36.199Zero\python-2.7.12.amd64\lib\ctypes_init_.py”, line 362, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application
I’ve tried using several versions of python on several different systems, both win64 and linux, and while the specific text varies slightly, I keep ending up at the same result that the dll isn’t valid.
Is there something I can do to fix this problem?