binary ‘+=’ : no operator found which takes a right-hand operand of type ‘BYTE [6]’ (or there is no acceptable conversion)
CString ret;
typedef struct _SID_IDENTIFIER_AUTHORITY {
BYTE Value[6];
} SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY;
ret += sid.IdentifierAuthority.Value;
I just “(TCHAR)” to change the value type like this.
ret += (TCHAR)sid.IdentifierAuthority.Value;