Sorry ,I can get the value in debug status ,e.g.,
......
unsigned char tmp1[1];
int val;
RegReadBinary (REGKEY_HKLM, "Software\\POWERVIEW\\INSTALLMODE", "INSTMODE", tmp1, 1,&tmp),the value of tmp1 is 0 , but if make such a sentence : val = tmp1[0] ,I can just get 48 ,which means the corresponding ascii code is 48 .Which function can be used to get the real value (0) not the ascii value ?
David