Its not just the version number of Python. It matters what OS type you run. The supplied dll only works using the 32 Bit version of Python 2.7. I am running x64 Windows 10 machine.
I uninstalled my x64 version of Python, I installed Python 2.7.18 (x86) version and tried again. I’m happy to report that the db_gen.dll now works with the provided ble_database.py file.