Bug in CABINET.DLL?

I got a note the other day from somebody who was trying to use my .NET CAB file wrapper:

I have found an interesting case where I can make it fail every time in Vista using your C# wrapper. Just for the record, I do not believe this is a problem with your C# wrapper.

If my program is working from a directory of a name of 8 characters with the last byte a number, it will fail. eg: c:\ABCEDFG0

I didn’t have any words of wisdom, and asked him to tell me if he found any more information in this post on Microsoft’s forums. I haven’t had the opportunity to study the modifications the last poster made to my code, but it looks like he discovered a bug in my CabDotNet. There’s still the oddity of Vista’s cabinet.dll failing where the XP version works, but it’s possible that the XP version was just more tolerant of errors in the caller.

Whatever the case, I’ll have an updated version available as soon as I can. If you’re in a rush for it, you could implement the changes shown in the forum post.