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

Click here to load this message in the networking platform