Mike Yearwood
Toronto, Ontario, Canada
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement