Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PROCEDURE and SET CLASSLIB
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01292307
Message ID:
01292334
Views:
25
>If my.vcx is included in EXE, SET CLASSLIB will use it regardless of path specified.
>
>>My question is, if I have SET CLASSLIB TO q:\abc\my.vcx, this location or file is not going to be on
>>the runtime PC.
>>
>>I have a small project with both VCX's and PRG based classes. The classes are in a subfolder called 'Classes'
>>and the PRG's are in a folder called 'Programs'.
>>
>>The app object automatically does a SET CLASSLIB or SET PROCEDURE for each file in the folder.
>>
>>When I run the EXE, which is not in the same location as devolpment, the class is not found.


That's what I thought. The problem is that my code does an ADIR() for each file, then loops thru the array
and SET's CLASSLIB to each VCX. Since the file are not there on the client, the SET CLASSLIB never happens.

So, since the path is ignored in runtime, I can hardcode in the development path?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform