I\'m trying to retrieve a value of a key but i\'m only getting the first char of the value.. can anyone help?
my code:
void dealWithRegistry() {
It is probably returning Unicode data and you are only printing the first character. A quick test of that would be to change the call to RegGetValueA.
RegGetValueA