Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOPEN Bug?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00145379
Message ID:
00145457
Vues:
28
Bret,

Win95 local machine give the same result. foopen() is going to require that it's the only process that has the file open. You'd have to do something in C++ and use _sopen() to have shared read access to the file.

>Can someone out there try this and see if they get the same response.
>
>Open a table as shared from a database in a private datasession.
>Then run the following command on the fullpath to the table you have opened, using another form with its own private data session.
>
>lcfile = FULLPATH TO THE TABLE YOU HAVE OPENED e.g. c:\temp\table1.dbf
>lnfilehandle=fopen(lcfile,0)
>
>Is the result in lnfilehandle less than 0, which indicates that fopen could not get a readonly open, which I think means that the table is being seen as exclusively opened.
>
>Let me know your results.
>
>I am trying this where the table resides on our Novell server, but I would be interested in any results.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform