On 02/08/2016 09:16, Jonathan Wakely
wrote:
On 02/08/2016 09:12, Kjell Ahlstedt
wrote:
Oops, you're both right. I was getting mixed up and thinking that Glib::get_application name() returns std::string, whereas it doesn't - it returns Glib::ustring. That explains why calling its 'c_str()' function works, while a simple assignment doesn't. Glib::ustring's std::string operator returns it's 'string_' member. In my case, this IS a std:;string - but it's the old type of std::string that was known to VS2005 (which presumably can't be simply copied to the new type that's known to VS2015). Thanks for clearing this up guys, John |