how to copy an unsigned char into a descriptor( TBuf16 or TChar ). can someone help please?
i`ve tryed this but it doesn`t work. i get user panic 9.
Code:TBuf16<256> tPass; unsigened char pass[32]; tPass.Copy(KNullDesC); for(TInt i = 0; i < 16; i++) tPass[i] = pass[i*2] << 8 | pass[i*2 + 1];

Reply With Quote




