Monday, July 25, 2011

WinApi bug

One of computers in office (Win7 ultimate without any SPs) shows really strange behavior of FindFirstFile/FindNextFile winapi functions (and DIR command too, since it based on them, like any other high level methods): *.tif search mask doesn't return files with .tiff extension (2 f characters at the end).
Same search mask returns both .tif and .tiff files on all other computers, with all different kinds of OSes: win7, win7sp1, winXPsp3, etc.
Looks like major OS compatibility breakdown :)