I still get the same errormessage using DWORD or REG_SZ