Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set classlib won't
Message
De
21/03/2005 19:27:40
 
 
À
21/03/2005 18:17:58
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00997973
Message ID:
00997983
Vues:
19
>I'm having a problen with SET CLASSLIB TO. In my setup routine I explictly set classlib refs like "SET CLASSLIB TO i:\myapp\libs\myclass.vcx". When I compile, copy the exe another directory and run it, the classlib assignment changes, e.g., "c:\myapp\libs\myclass.vcx" and the classes can't be instantiated. I've set wait windows and made sure waht I wanted to set was being set but it still doesn't work. For example:
>
>Procedure Setup
>
>x='i:\myapp\libs\myclass.vcx'
>? x && -> i:\myapp\libs\myclass.vcx
>? file(x) && .T.
>
>*-- One way to try
>SET CLASSLIB TO &x
>? set('classlib') && -> c:\myapp\libs\myclass.vcx alias myclass
>
>*-- Explicit SET
>SET CLASSLIB TO i:\myapp\libs\myclass.vcx
>? set('classlib') && -> c:\myapp\libs\myclass.vcx alias myclass
>
>Is there some magic command to just set the classlib to what I want? Thanks.
>
>Gary

Is or is not myclass.vcx excluded in the Project ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform