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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement