Robert Reif wrote: > +BOOL ADVAPI_GetComputerSid(PSID sid) > + if ((ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, > + "SECURITY\\SAM\\Domains\\Account", 0, > + KEY_READ, &key)) == ERROR_SUCCESS) I did not test the patch, but is there a Reason against UNICODE here ? (The other calls already use UNICODE in this Function) -- By By ... ... Detlef