Does WildcardComparison() care if its pszFileName contains a path? That is, will "foo\bar.txt" and "bar.txt" both match "*.txt" (or simply "*")? Thanks.