The Clipper DB, a dBase language compiler, had locking mechanisms that were
similar if not the same as the FoxPro as I recall. I had a book or a
document that covered these issues but I can't take the time to look it up
until this weekend. Sorry. Just remind me on Saturday morning to go look
for the reference.
Right now I can give you some links to projects that have dealt with these
file locking and permissions issues. The Harbor
Project<http://www.harbour-project.org/>is an Open Source Clipper DB
like or clone that has an MS-DOS version. I
have programmed applications for MS-DOS using Clipper DB which did give me
some trials and challenges when trying to prove the locking worked as
expected. The Harbor Project <http://www.harbour-project.org/> used the
same API's with some helper code.
The problem may be more of the way FoxPro interpreted the MS-DOS locking
API. The other part of the issue as I recall was that the MS-DOS API
required a fair amount of extra helper code to be usable. As I remember
some Assembly is required.
The Oasis Clipper source archive <http://www.the-oasis.net/index.php3> may
be a source of locking coding examples for Clipper. That may give you some
ideas as to what the FoxPro issue may be. A Clipper news
group<news:comp.lang.clipper>is also mentioned on that page where you
may get information. I'm sure
there is also a FoxPro version of that news group.
Cross OS's file permission information is a long discussed issue on the
Samba.org <http://www.samba.org> web site. Samba has a way to share drives
MS-DOS system. The rub there, as you mention, is the LINUX permission
system. Add to that the locking issues and things get interesting.
Does anybody have a debugger or debugging solution for observing file locks
or file permissions. This appears to me to be a problem with all OS's. It
is much the same problem as I struggle with LINUX, Win OS's, and the MAC
environments. I hate writing debugging code all the time.
Links:
http://www.harbour-project.org/
http://www.the-oasis.net/index.php3
news:comp.lang.clipper
http://www.samba.org/
On Jan 17, 2008 11:43 AM, Tom Ehlert <[EMAIL PROTECTED]> wrote:
>
> > I did load share.
> that doesn't matter. share is useful to access files on the FreeDOS
> harddisk, but it seems that your .DBF is located on the linux box
>
> > Sorry I should have mentioned that. For testing
> > purposes, linux permissions are open on 777 recursively, but still the
> > same problem. I have been struggling with this for 2 months allready.
> > Even tried putting the shared files on a CIFS server. Same results.
>
> Does Foxbase allow to share file acces ? this would require an open in
> read-only, sharing access. This might also depend on the application
>
> Tom
>
>
>
> > Keith
>
> > On Jan 17, 2008 4:33 PM, Eric Auer <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi! (please use plain text mail without html)
> >>
> >>
> >> > Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
> >> > What I am trying to achieve is run a foxbase application on Linux
> >> > with DOSEMU and freedos. Right.
> >>
> >> Maybe you get better results if you load SHARE... Please also
> >> compare diskimage (can be diskette or special DOSEMU FAT16 as
> >> generated by dosemu tools) drives to "Linux directory used as
> >> drive" drives.
> >>
> >> Problems when several users access the same file sound like
> >> shared file access problems :-).
> >>
> >>
> >>
> >>
> >> > Even though no one is editing the file. The users should still be
> able
> >> > to "view" the database even if no one is editing the current dbf
> file.
> >>
> >> Eric
> >>
> >>
> >>
>
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Freedos-user mailing list
> > Freedos-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freedos-user
>
>
>
> Mit freundlichen Grüßen/Kind regards
> Tom Ehlert
> +49-241-79886
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
--
John S. Wolter President
Wolter Works
Mailto:[EMAIL PROTECTED]
Desk 1-734-665-1263
Cell: 1-734-904-8433
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user