Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON ERROR not trapping MS Program Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01413530
Message ID:
01413532
Vues:
65
>Hello,
>
>I'm running into a problem where the .DLL I'm calling is occasionally raising an error. In spite of my ON ERROR declaration, a MS "Program Error" Warning Dialog pops up first with "Cancel", "Ignore" and "Help" buttons. (See attached) If I click on "Ignore", the VFP8 Error Handler kicks in.
>
>How can I prevent the MS "Program Error" Warning Dialog from popping up? (I just want my ON ERROR to handle the error)
>
>Oh, BTW, I've delared ON ERROR in the main program and even tried including the same error handling code in the form Error method.
>Oh, and yes, I'm 100% certain the error is occuring in the .DLL call.
>
>Many thanks,
>
>Ellis

Hi Ellis,

If you're using VFP8 or up, can you try to put this particular call of DLL into try/catch routine ?
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