Могу ли я узнать, как я могу выполнить следующее преобразование?char array to LPCTSTR
// el.strCap is char[50]
// InsertItem is expecting TCHAR pointer (LPCTSTR)
// How I can perform conversion?
// I do not have access in both "list" and "el" source code
// Hence, there is no way for me to modify their signature.
list.InsertItem(i, el.strCap);
И Нет, я не хочу использовать
WideCharToMultiByte
Они слишком громоздки для использования.