Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Definition not Found
Message
 
To
06/02/1999 13:56:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00184720
Message ID:
00184949
Views:
24
Possibly a pathing problem? Does the routine causing problems change path at any point?

>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
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform