Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set classlib won't
Message
From
22/03/2005 07:33:19
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
21/03/2005 18:17:58
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00997973
Message ID:
00998035
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform