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.