Search:

Type: Posts; User: valaris

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    24,973

    should probably be a LPCSTR.

    should probably be a LPCSTR.
  2. Replies
    6
    Views
    24,973

    TCHAR to std::string: TCHAR* pszStr =...

    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...
Results 1 to 2 of 2