Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speaking of poltergeists
Message
From
12/08/1999 15:37:11
 
 
To
12/08/1999 11:22:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252786
Message ID:
00253177
Views:
26
>Hi Harry.
>
>>Is there anyone out there who has not experienced that wierd and wonderful behaviour in which the program crashes regularly at a certain spot - except when you debug it! Then it behaves exactly as god intended! Bastard!
>
>
>In addition to the causes posed by others who replied, I've found that Windows NT caching can be a problem. The scenario is usually: create a file, then try to open it immediately after. It can be a table, a DBC, a report, etc. On som systems, a "file does not exist" error occurs, on others, it's "file access denied". Stepping through the code works because of the time delay, while running it causes the error. The solution to these types of problems is a kludge: put in INKEY() to insert a pause into the code. Who'd a thunk it: the code runs *too* fast ;).
>
>Doug

PMFJI, but do you know if there are any recommendations on NT file system settings such as Opportunistic File Locking etc. when used with VFP?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform