Hii
How can I convert string into LPCWSTR
I've changed string to wstrig ,that time _findfirsti64() must have string argument...!!Code:struct FILELIST { string path; vector<string> theList; }; string path list<FILELIST>& theList struct _finddatai64_t data; string fname = path + "\\*.*"; long h = _findfirsti64(fname.c_str(),&data); //_findfirsti64(string,) --------------- ---------------- --------------- //here I wanna convert string to LPCWSTR .... //using the LPCWSTR I've to open the file using Createfile()
any idea....
Thanking you..