Would anyone happen to know how to convert type
char * in C++?
Here are a lot of ways to do this. MFC or ATL's CString, ATL macros, or Win32 API.
LPTSTR szString = _T("Testing"); char* pBuffer;
You can use ATL macros to convert:
USES_CONVERSION; pBuffer = T2A(szString);
or the Win32 API
UNICODE is defined.