I am trying to print the returned value of NtQueryKey
which is UCHAR Data[1];
i have tried printf
, cout
, and string(Data, DataLengh)
, with the first two printing only 1 character and the last one throws an exception... Basically if i changed the Data Type to WCHAR Data[1]
and used wstring(Data)
it accepts it normally without any complain... also wprintf
prints the value normally.
Aucun commentaire:
Enregistrer un commentaire