CString from char
CString StrPath;
USES_CONVERSION;
char DllPath[MAX_PATH] = { 0 };
strcpy(DllPath, T2A(StrPath));
//strcpy(DllPath, W2A(StrPath));
CString StrPath;
USES_CONVERSION;
char *DllPath = T2A(StrPath);
//char *DllPath = W2A(StrPath);
CString from LPCWSTR
USES_CONVERSION;
LPCWSTR wszClassName = A2CW(W2A(str));