Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Definition not Found
Message
De
06/02/1999 13:56:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Class Definition not Found
Divers
Thread ID:
00184720
Message ID:
00184720
Vues:
82
I have several applications that use the same approach to error handling. In the startup routine, I have the command ON ERROR DO EHANDLE. EHANDLE is a short program that sets up some parameters and then calls a form called EHANDLE that resides in one of my class libraries. The code looks like this:

frmError = CREATEOBJECT('Ehandle', "suggest")

Most of the time, the error handling system works just fine, but in one of my applications (and only that application) the application will occasionally encounter an error, call the ehandle program, and then give the user "CLASS DEFINITION EHANDLE NOT FOUND" after that, the user usually ignores the problem at which point VFP returns the error frmError not found and then crashes out to the operating system. The appropriate SET CLASSLIB commands are issued at the begining of the program, and (as I have already said) most of the time the system works. What would cause VFP to be unable to find a class definition that is compiled into the project and available to the program most of the time?

Thanks in advance..

jd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform