// m_directory hold a directory path with a *. extension in the string, want to cutoff the extension.
char* pTemp = strdup((LPCTSTR)m_directory);
fileDir = CString(strtok(pTemp,"*"));
Is there an easier way to do this directly to the CString?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.