How to convert string into LPCWSTR
Hii
How can I convert string into LPCWSTR
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()
I've changed string to wstrig ,that time _findfirsti64() must have string argument...!!
any idea....
Thanking you..