Link to home
Start Free TrialLog in
Avatar of nerdmike
nerdmike

asked on

Lock file with win32 api?

Hi

I want to lock a file using the win32 api so that no one else can read/write to it until I have released the lock.

Note, I'm only looking for API functions.

-Mike
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nerdmike
nerdmike

ASKER

Is there a way to make it block until the file is available?