Write file to HD and read directly = crach
-
Hey, When I write a file to my Harddisk and try to read (append) the next line (in my code) it craches. He says that the file doesn't exists... But when I wait 3-9sec it exists... How Can I for c# to immediatly write it on my Harddisk and not cache it our something? thx!
-
Hey, When I write a file to my Harddisk and try to read (append) the next line (in my code) it craches. He says that the file doesn't exists... But when I wait 3-9sec it exists... How Can I for c# to immediatly write it on my Harddisk and not cache it our something? thx!
-
It's very probably that you forgot to close your file before you tried to open it again. Can you show us the code?
Visual Studio can't evaluate this, can you?
public object moo { __get { return moo; } __set { moo = value; } }