Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set classlib error
Message
 
À
10/05/1999 13:31:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00216761
Message ID:
00216796
Vues:
34
Thanks.

I currently don't specify a path in my code. I always assumed (well not always but ever since I got burnt real bad) that to be a major no no and to cause great big headaches. I get enough of those already.

This thing is a real pain. I can avoid it and work around it for now. I'm still preplexed as to why it is happening at all.

>>That makes sense with what I'm seeing. However a search of all drives results in only one VCX. I think the problem is that the EXE has a copy and there is one on the disk. At that point it seems to get confused.
>
>Don't specify a path when you are setting CLASSLIB. If you do, the exe will search the path first.
>
>SET CLASSLIB TO MyLib ADDITIVE
>
>Instead of
>
>SET CLASSLIB TO c:\Libs\MyLib ADDITIVE
>
>if you run your projexts from the command window by running the main program, this will give you trouble with "file not found" unless you put the path to your libraries in your SET PATH statement. It will work fine in the EXE, though.
Bud Wheeler
Vision Data Solutions, Inc.
Microsoft Partner

http://www.visionpace.com
Http://www.BudWheeler.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform