Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing application after an error
Message
 
 
À
09/08/2005 03:45:44
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01039447
Message ID:
01039512
Vues:
13
>>Hi everybody,
>>
>>When an error occurs in the application, the error message is displayed, but then there is quite often a situation, where application could not be gracefully closed and VFP errors are displayed and the user has to kill the application, because there is no other way out. The most typical problem is unclosed transaction. Should the application be smart enough to rollback all open transactions in Cleanup code?
>
>Yes. I consider the operation of manual killing as a bug.
>
>>
>>Did you find this problem as well? How did you solve it?
>>
>
>Catch every error exit path, and fix it.
>
>>Thanks in advance.

Hi Fabio,

Do you advocate to write bug-free code (if this is possible at all) or improve the Cleanup routine and add code to rollback in all opened DS?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform