Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class library not found
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00767675
Message ID:
00767768
Views:
16
>>>>I believe I asked this in the past, but never found the cause, or fix it...
>>>>What may be the cause, when running a compiled EXE with all class libraries included, to get this error?
>>>>Typically it pops when starting a form, and it says:
>>>>
>>>>Error loading file – record number 19. FormName or one of its
>>>>members. Parent: Class library file
>>>>‘x:\foxv\...\LibName.vcx’ is not found

>>>>
>>>>Record 19 in the SCX file is the form object record.
>>>>
>>>>We are running VFP 8 on Win XP.
>>>>TIA
>>>
>>>My guess is that you haven't included the class (LIBNAME.VCX) file in your project file, so it is not compiled into the EXE. If you were to put the VCX file in the search path it should work as well...
>>>
>>>Hope this helps!
>>
>>Thanks Andrew,
>>It doesn't help however... As I stated, ALL class libraries ARE included in the project.
>>
>>>
>>>Andrew
>
>
>Open up your form as a table and check the location of the .VCX in question in all records in the CLASSLOC field. You may have had 2 copies you were working from and didn't know it.

Thanks Fred,
It is just one record - the form record - and the location is, and always was '..\..\classes\LibName.vcx'. The users don't even see that directory, and the library is included in the project. The error is not consistent, it happens once in a blue moon, but there are days when you may get it two times in a row going out of VFP and back in.
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform