createKey and getKey functions should use "access" argument instead of REGSAM.KEY_ALL_ACCESS at lines 1087 and 1147 like this: -1087: , REGSAM.KEY_ALL_ACCESS +1087: , access -1147: LONG lRes = Reg_OpenKeyExA_(m_hkey, name, REGSAM.KEY_ALL_ACCESS, hkey); +1147: LONG lRes = Reg_OpenKeyExA_(m_hkey, name, access , hkey);
Fixed with other issues in: https://github.com/D-Programming-Language/phobos/commit/830537e508c6960fc139a42dc3f2024ade9cb564