Look at the FileShare enumeration used by the FileStream class.
Another option is to use a named mutex and have each process lock/unlock the mutex.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |