please help, The process cannot access the file...

  • Thread starter Thread starter david
  • Start date Start date
D

david

I am calling a dll in my C# project, when I try to access its log file, I
got error "
The process cannot access the file "xxxxxxx" because it is being used by
another process.
". I suspect the dll doesn't close its log file immediately, but I can not
do nothing about it. Since I can open the log file in File explorer(when I
tried to delete it, I got a file share violation, that is for sure), I think
I could open and read the file in my project. Why I could not do that? any
idea?


Thanks!
 
Back
Top