Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class definition THERMOMETER is nof found
Message
From
29/07/2003 03:36:46
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Class definition THERMOMETER is nof found
Miscellaneous
Thread ID:
00814443
Message ID:
00814443
Views:
35
Class definition THERMOMETER is nof found: which is nonsense!
Thermometer is a small form which indicates progress to the user by passing a string and a percentage completed.

Mere minutes before this random error pops up our application has been using the class Thermometer without a problem. We never saw this error before (earlier versions) and the code for thermometer didn't change (to my best knowledge).

After closer inspection it turns out that after using one particular screen (which uses thermometer) the problem will occure as soons as thermometer is called again in another screen.

It's not as random as I initially believed. I'll get more info first....

Addition:
I've found that the statement SET CLASSLIB TO datacom was causing the problems. I've included ADDITIVE for obvious reasons. What I don't get is
that only Thermometer went bezerk. Thermometer is part of the std_veld class, but if ADDITIVE is ommited, I'd expect classes (in our application) like 'calendar' and 'funcs' to cause problems as well. Unless maybe they're stilled referenced in the memory when I do my SET CLASSLIB TO ... Any thoughts?

Furthermore: I do a SET CLASSLIB TO datacom in the class datacom ITSELF, to be able to get to CZipLib which is contained in the datacom.vcx as well.
It works now, but I don't get why I should do this. Aren't all classes within a VCX loaded as soon as you reference the VCX?
Next
Reply
Map
View

Click here to load this message in the networking platform