Not sure why it's not detecting the .dll. Try the attached .zip which merges the .dll and .exe. PKHeX.zip