View Single Post
Old 05-24-2007, 01:02 PM   #8 (permalink)
Daemon1313
Crazy
 
Daemon1313's Avatar
 
Location: Atlanta
You have to flush the streamwriter. The OS determines when buffered writes actually make it to disk. When object is destroyed it forces a flush.

The stream writer has a function Flush() that will do it for you. It can be bad on performance but you can explicitly call Flush every time you write something.
__________________
A clear conscience is usually the sign of a bad memory.
Daemon1313 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62