elitepvpers
elitepvpers
>
General Coding
>
Tchar to byte
« full version
Tchar to byte
02/22/2011 17:08
Zat0
#1
Hey,
can anyone help me to convert TCHAR[] to BYTE in C++?=/
mfg
02/22/2011 17:15
MrSm!th
#2
Code:
TCHAR str[4] = TEXT("str"); byte bytes[10]; memcpy(bytes, str, 4*sizeof(TCHAR));
02/22/2011 17:55
Zat0
#3
Ups...xD
Thanks :) working :)