Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speaking of poltergeists
Message
From
12/08/1999 11:22:26
 
 
To
11/08/1999 19:05:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252786
Message ID:
00253008
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform