Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error on close of application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00809694
Message ID:
00809805
Vues:
23
>I consistently (not all the time, though) get an error on exiting my MM applications. I currently have three applications I have written and all three experience this same behaviour. The following list the error written to the FoxPro error log file:
>
>Fatal error: Exception code=C0000005 @ 07/03/03 12:01:24 PM. Error log file: C:\Program Files\Microsoft Visual FoxPro 7\vfp7err.log
> Called from - setup line 127 {c:\mmortals\common30\progs\setup.prg c:\mmortals\common30\progs\setup.fxp}
> Called from - main line 8 {c:\trades\progs\main.prg c:\trades\progs\main.fxp}
>
>Is anybody else experienced this and do you have an explanation and/or solution?
>
>Thanks in advance for any help.

I ran into a "Resource Manager" error that with a MM's app. that uses Crystal Reports. After running a few of the reports, if you attempted to exit it would (fairly consistently) fail with that message. I traced the problem down to the last two lines of the app. that ran before exiting (in the Setup.PRG file):

CLEAR ALL
CLEAR

I commented them out (since the app. was already exiting, they are a bit redundant). It fixed that particular error.

However, I'm guessing in your case, it may be a problem with the order objects are being released. I have had C5's occur when I released objects 'out of order' from how they were instanciated. So now I try to always make sure that I always release objects in the opposite order they were instanciated in. That seems to fix most of them.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform