Link to home
Start Free TrialLog in
Avatar of misha051797
misha051797

asked on

Multi User File Open / Partial File Locking Winnt

Greetings,
I am trying to get my database project started. Since I am building the multi-user database application I have know the best solution for allowing 2 or more users to write to the file. Is there a windows nt function that can do so? also can i partially lock a section of the file?
Thank you.
Avatar of TheGrinch
TheGrinch

You say "database project" but then talk only about files. Which is it? Considerations with a database are quite different from those with files.
Avatar of jkr
Well, 'LockFile()' allows you to lock prtions of a file...
Avatar of misha051797

ASKER

TheGrinch,
Cood point. What I am trying to do is to allow multi user access to the file.
I do not want an application to lock file, so other users can't read/write to the file.
I guess there must be a simple solution to what I am trying to do. Right?
ASKER CERTIFIED SOLUTION
Avatar of guga
guga

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