switched to dll build
IT WAS A FUCKING 'EXTERN 'C' ' DIRECTIVE THAT WAS MISSING. Every puzzle has an answer