Jun 2, 2015 at 1:03am
I need to use L"" to convert string to LPWSTR in path string variable
1 2 3 4 5
|
//this work for me
LPWSTR test = L"c:\\aizen.png";
//but I need something like this
string path="c:\\aizen.png";
LPWSTR test = L""path; // didn't work
|
thanks
Last edited on Jun 2, 2015 at 1:04am
Jun 2, 2015 at 1:23am
Last edited on Jun 2, 2015 at 1:24am
Jun 2, 2015 at 8:47am
I used mbstowcs() and it work fine thanks Andy.
Last edited on Jun 2, 2015 at 8:47am