Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling DLL Errors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Handling DLL Errors
Divers
Thread ID:
00854384
Message ID:
00854384
Vues:
44
I have various VFP/VB DLL's that I use regulary.

I trap errors internally and store a negative value
relative to the error to a propery called nReadyState,
then set a property called lErrorOccured to .T.

If lErrorOccured is True, then nReadyState will contain
the error number for the error, otherwise nReadyState will
be zero.

Some of these DLL's use other DLL's, and sometimes they
are used in applications.

The question is this:

When an error does occur under this scenerio, what's the
best way to handle it and pass it to the applicaion?

Also, what should the application do?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform