Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class library not found
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00767675
Message ID:
00767768
Vues:
15
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform