From: Thomas Stammeier Date: 2003-05-06T01:59:51+09:00 Subject: Re: Problem using FXFileStream Lyle Johnson wrote: > I don't see anything wrong with your code, but I also don't understand > how you could be seeing the behavior you describe. This is exactly what I was wondering about. Could this problem be related to the operating system in any way? I forgot to mention I'm running ruby on Windows 2000. A simple way to see this problem is entering the following code in irb (using Windows): require 'fox' include Fox FXFileStream.open ("test", FXStreamSave) { |stream| } Then trying to delete the file with the Explorer will raise a "sharing violation" (I can't give you the exact error message, I have a German Windows installed). This seems odd to me as the file should be closed after the block. Maybe someone can check if this is happening on your Ruby as well? Thanks, Thomas