Hi:
Whilst using boost::filesystem I'm getting the following issue:
I've defines:
std::wstring Process =ProcessToFind;
//ProcessToFind is an input to the function I'm writing.
std::wstring test =boost::filesystem::wpath(szModName).filename();
//szModName is obtained from a win32 api function.
Process.Compare(test);
//This line gives the following Error:
1>c:\work\access for everyone\dragonspeak\dragonspeak.cpp(45) : error
C2039: 'Compare' : is not a member of
'std::basic_string<_Elem,_Traits,_Ax>'
1> with
1> [
1> _Elem=wchar_t,
1> _Traits=std::char_traits