Opened 11 years ago
Closed 11 years ago
#6309 closed Support Requests (fixed)
cannot convert from 'CString' to 'boost::filesystem3::path'
Reported by: | anonymous | Owned by: | Beman Dawes |
---|---|---|---|
Milestone: | To Be Determined | Component: | filesystem |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
using the code below: *
CString m_ImagesSubFolder; path m_ImageFolder = m_ImagesSubFolder;
*
Error 7291 error C2440: 'initializing' : cannot convert from 'CString' to 'boost::filesystem3::path'
Note:
See TracTickets
for help on using tickets.
I'm not a Windows programmer, but it looks like CString::operator LPCSTR is what you need to use.
Try something like:
HTH,
--Beman