Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2.6/DOS Resource file in NT 4.0 Locks!
Message
De
10/12/1997 10:28:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00064951
Message ID:
00064983
Vues:
39
>>>We are currently in a transition from DOS/Win 3.11 workstations to Windows NT 4.0. Things SHOULD run fine in a DOS session with a PIF file created for the DOS FoxPro programs.
>>>
>>>We get a File Access Denied when I issue the command:
>>>
>>>SET RESOURCE TO F:\RUNTIME\FOXUSER.DBF
>>>
>>>This resource file contains all the needed printer formats/drivers for the DOS Executable programs. The file is on a Novell server FLAG'd as Read Only so that several users can access it at the same time.
>>>
>>>Any fixes?
>>
>>
>>Drive F:??? Sounds like your trying to have multiple users use the same resource file.
>>You can't do this. The resource file is opened exclusive. Each user should have
>>their own copy of the resource file.
>
>I have flagged it as read-only so that multiple users can access it. This method works fine in DOS. The resource file is only used to use printer driver information for Report Forms.
>
>I'm assuming NT locks files differently than DOS?


What kind of server is F? The locking is really independent of the OS.
Still, each user should have their own resource file. It would be easy
to copy the file to the local drive on startup.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform