remake dll refers, one for x64 and one for x86