Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Library Not Found In EXE
Message
De
06/05/1999 10:19:04
 
 
À
06/05/1999 09:25:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00215646
Message ID:
00215709
Vues:
32
>>>>I have a class that contains an object that is defined as a separate class in the same class library file. When I run the form that contains the class during development, everything works fine. However, when I build an exe or app and run it, I get an error stating that the class library can't be found. Does anyone have any ideas?
>>>
>>>Is the class library added to your project? Also, if you add classes at runtime, you need to SET CLASSLIB...
>>
>>The class library is included in the project and I add the class library to the environment with SET CLASSLIB TO... ADDITIVE. If I place the class library in the path, everything works fine. I am using other classes from the same class library without a problem. The error only occurs when I have a class that contains a class from the same class library.
>
>You might want to hack your .VCX and check if the name of the VCX has a path attached to it in the Classloc field for some or all of your subclass; if it's there, delete the hard-coded path and just leave the name of the .VCX (before hacking a VCX, back it up somewhere in case you screw up - little things like leaving trailing spaces or adding a carriage return can really make your life miserable.)

Thanks for the reply, Ed. I tried that and still have the same problem. Guess I'll keep looking...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform