char* 转换成 LPCTSTR const char* dibFileName; , , dibFileName, -, NULL, ); wchar_t *wide = new wchar_t[num]; MultiByteToWideChar(, , dibFileName, -, wide, num); ]; // 这样在多字节或UNICODE模式下都可以. _bstr_t bstrTmp(m_fileName); LPCTSTR strTmp = (LPTSTR)bstrTmp; 解…