should probably be a LPCSTR.
Type: Posts; User: valaris
should probably be a LPCSTR.
TCHAR to std::string:
TCHAR* pszStr = _T("...");
std::string sConv = CT2A(pszStr);
You can use CX2Y, where X is the current state of the string, and Y is the encoding it should be...