Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE no longer recognizes a VCX
Message
From
23/05/2003 13:39:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00792333
Message ID:
00792340
Views:
25
>I've been trying to crack this problem for a while now, with no luck.
>
>I get inconsistent occurances of the "Class Definition X is not found." error in various places within my application.
>
>It isn't a specific process that causes the error, because I can perform the same operations 10 times and it will be fine, then another time I can get the error doing the exact same operation only once.
>
>To try and help me debug this, I've got the application dumping all kinds of info when this error occurs, i.e. variables being used, etc..
>
>What I've found is, the "SET CLASSLIB" value is being "mangled" (for lack of a better word)
>
>For example I have a couple of dozen classes loaded in memory and when this error occurs, the classes in "SET CLASSLIB" have the wrong aliases assigned to them.
>
>Some have the same alias repeated over several different classes, others appear to have aliases resembling variable names being used in the process where the error occured.
>
>Has anyone else run into this?
>
>What is the cause and how can I rectify the situation?
>
>Thanks for any input,
>
>- Aaron.

Aaron,
If VFP6 or later use NewObject() instead.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform