CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: File Handling

  1. #1
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    11

    Question File Handling

    If one or more processes access the same file, how do I handle synchronisation? Is there a way I can lock a file when I am reading it?

  2. #2
    Join Date
    Oct 2002
    Location
    Italy
    Posts
    324
    Of course!
    See LockFile documentation:
    http://msdn.microsoft.com/library/de...e/lockfile.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured