Host code working on windows