Hi, I am using Turbo C++ and is thinking of creating a program that would lock files. Since I am a newbie , I can't figure out how to lock the files. I am not talking about denying sharing , what I want is that when the file is being tried to open , it must show an error message or it should not open at all..
Hope that I will get replies :-)