Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set classlib won't
Message
De
22/03/2005 07:33:19
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
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:
00998035
Vues:
23
I really don't know why anyone would want to specify the full path to the class like that. Use the SET PATH command in your config.fpw. This will save you lots of typing. You can alter the path.

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform