LoadLibrary failed with error 1114

Hi… The program starts and works normally for a few seconds, until a box that says error 1114 comes up and force quits. Doesn’t give a chance to save anything.

I have absolutely no idea how o WHY the energy thing worked… but it did perfectly. Thanks!!