does anyone knows how to conver from LPTSTR to std::string or std::wstring ?
example : i want to convert f_path to abc ang def...
LPTSTR f_path;
std::string abc;
std::wstring def;
thanks in advance
does anyone knows how to conver from LPTSTR to std::string or std::wstring ?
example : i want to convert f_path to abc ang def...
LPTSTR f_path;
std::string abc;
std::wstring def;
thanks in advance
Have you tried abc = f_path;
?
Have you tried
abc = f_path;
?
yes.. but since i set my project setting to process UNICODE, it cannot work...
but it works when i tried
def = f_path
hehe..
thanks for replying ;)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.