Ok, in my program im working with std::basic_string<WCHAR> and std::basic_string<CHAR> variables, but the function ListView_SetItemText receives the text in the type of LPWSTR. Is there any way of "transforming" that std::basic_string<WCHAR> to a LPWSTR? Or is there another function that i can use LPCWSTR? Thank you in advance.