ERROR: unable to create application. Exiting

Hi, i have been getting this error when trying to start kodi for weeks now and have tried all the videos online to fix but with no use. i have removed the program and all files from pc and tried fresh install and nothing works. even tried removing the file from the roaming folder. using windows 10

kodi used to work fine but one day stopped working. i have not installed any new programs so im at a loss and have no idea what to do to fix it.

hope someone can help

thanks lee