0

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

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by ammameiya
0

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 ;)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.