Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 Error
Message
De
20/01/2005 10:28:37
 
 
À
19/01/2005 17:16:14
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00978703
Message ID:
00978875
Vues:
12
Hi John.

>Users of my applications get a C0000005 errir frin once to 5 times in an 8 hour day. This error kicks them out of the application. There seems to be no pattern about where they are in the application.
>
>Does anyone know what causes this error and especially, what can be done to prevent it?

In addition to the other suggestions, one way I eliminated C5 errors in my apps is to make sure that I don't do a RETURN inside a WITH statement. For example, I used to have code like this:
with This
  ... some code
  if SomeCondition
    return
  endif
  ... some code
endwith
Changing this to:
with This
  ... some code
  if not SomeCondition
    ... some code
  endif
endwith
or some other structure that prevents a RETURN while inside WITH has completely eliminated C5 errors from my apps (and of course it's better coding too).

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform