My guess is that somewhere in your code there is a filename CHAR buffer of 128 bytes. Depending on what the codepath is, use of a longer filename string in that buffer may or may not work. It's quite possible that some writes might work and others fail, though if your code handles errors properly you would think you would find out about the failures through suitable error logs.
Steve Townsend
2010-10-14 17:57:57