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<wchar_t>,

1> _Ax=std::allocator<wchar_t>

1> ]

 

I'm using the trunk as of yesterday (feb 1) and visual studio 2005.

Anyone any ideas what's going wrong, or what I've forgotten?

Cheers

Sean.



__________ Information from ESET NOD32 Antivirus, version of virus signature database 3817 (20090202) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com