Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to find Visual Class Library
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00525871
Message ID:
00525985
Views:
19
>Hi!
>
>Better create another classlib, copy classes one by one to that classlib. This way you can also see what class exactly cause error, if it will not be fixed by self. Anyway, this could be dangerous because you can lose the backlink to the parent class of the class that spoils the APP functionality. Better get it from backups...
>
>>>Hi!
>>>
>>>VCX is corrupted. Or VCX is edited manully and the Class or ClassLib fields are cleared out inaccurately - it is empty, but with space or Enter left. In Browse window when you clear memo feild always assure "memo" starts from lower-case "M". when it is "Memo" - it is not cleared.
>>

>>Thanks Vlad. Must had been corrupted in a crash. I'll go hunting for the "empty" memo.

I found the problem (which is kind of interesting). The VCX was fine, but I had following line of code in one of my methods
loTS = newobj("if_timesync", "", "", .T.)
The compiler did not like having the class reference empty, and stopped complaining when I changed the code to
loTS = newobj("if_timesync", "classes\iflexcls.vcx", "", .T.)
Very strange. Even though the compiler complained, the code still worked in the EXE [I do have classlib set to the iflexcls.vcx]. But at least I got ride of the error.
- Erik Niese-Petersen

Crazy Dane in USA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform