convert char * to wchar_t *

hi

i searched how i can do this and find such these codes for converting such these things:

char * to LPCTSTR

char* to wchar_t *  and

any unicode convertion in C++;

wchar_t dest[SIZE];
char src[SIZE];
mbstowcs(dest,src,SIZE);  //convert char * to wchar_t *

best regards,

Advertisements