Re: [Boost-bugs] [Boost C++ Libraries] #6309: cannot convert from 'CString' to 'boost::filesystem3::path'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6309: cannot convert from 'CString' to 'boost::filesystem3::path'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-19 12:58:32


#6309: cannot convert from 'CString' to 'boost::filesystem3::path'
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: bemandawes
      Type: Support Requests | Status: closed
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.47.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+--------------------------------------------
Changes (by bemandawes):

  * status: new => closed
  * resolution: => fixed

Comment:

 I'm not a Windows programmer, but it looks like CString::operator LPCSTR
 is what you need to use.

 Try something like:

    CString m_ImagesSubFolder; path m_ImageFolder = (LPCSTR)
 m_ImagesSubFolder;

 HTH,

 --Beman

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6309#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC