很好拿的分
CFileDialog dlgDoc(FALSE, string, NULL,OFN_HIDEREADONLY,szFilterdo,this );
CString pDocpath="xxx";
LPTSTR* pDocpath;
pDocpath=&docpath;
dlgdat.m_ofn.lpstrFile = pDocpath;
出错提示如下:
error C2440: '=' : cannot convert from 'class CString *' to 'char ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
请问怎么改?