Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inability to write to INI files on shared volumes
Message
From
22/03/2000 09:43:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Inability to write to INI files on shared volumes
Miscellaneous
Thread ID:
00348855
Message ID:
00348855
Views:
63
I am using the Windows API INI file functions, specifically "WritePrivateProfileString", to write to an INI file that is stored on a shared volume on a Novel Netware network. If a single user causes entries to be made to the INI file no problems occur. (For the record, no problems occur writing to local INI files either.) However, if multiple users attempt to write to the network INI file in the same general time period, although not necessarily at the same exact moment, it is not uncommon for some of the attempts to fail.

It appears as though some kind of lock is being put on the file, interfering with the write operation, which is not being released right away. Repeated attempts sometimes result in success. If some kind of lock is being placed on the file and not being released I don't know whether the problem is Windows or Netware or both, or something else altogether. Again, I use these INI functions to write to local files all the time and have never experienced a single failure.

Any suggestions, solutions, work arounds, or explanations would be most helpful.
"The most beautiful experience we can have is the mysterious ; it is the fundamental emotion which stands at the cradle of true art and true science." - Albert Einstein
Next
Reply
Map
View

Click here to load this message in the networking platform