jmgreene
May 21st, 1999, 10:30 AM
I am using this source code to search for a file extension:
while (bWorking)
{ bWorking = finder.FindNextFile();
CListBox::AddString(LPCTSTR finder.GetFileTitle()); }
The LPCTSTR is giving me an error: illegal use of this tyep....
Also does anyone know how to search subdirectories as well?
Thanks.
while (bWorking)
{ bWorking = finder.FindNextFile();
CListBox::AddString(LPCTSTR finder.GetFileTitle()); }
The LPCTSTR is giving me an error: illegal use of this tyep....
Also does anyone know how to search subdirectories as well?
Thanks.