#define SIZE 1024
TCHAR src[SIZE] = L"This string will be char type";
char dest[SIZE];
WideCharToMultiByte(CP_ACP, 0, src, lstrlen(src), dest, SIZE, NULL, NULL);
#define SIZE 1024
char src[SIZE] = "This string will be TCHAR type";
TCHAR dest[SIZE] = {0, };
MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, src, strlen(src), dest, SIZE);