Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Executable Please help
Message
From
25/02/2002 10:42:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00624471
Message ID:
00624516
Views:
12
>Hello Hilmar Thank you.
>
>Could you please tell me where should i write this
>
>use myclasses.vcx
>pack
>use
>
>I do have .vcx objects in general class library folder.
>could you please tell me how i can solve this problem.
>
>Thank you.

What I personally do is run the following command, manually, from the command prompt, before updating the executable, or before checking files in (with source control / version control software):
* Assuming I did changes to library MyClasses
packvcx("MyClasses")
Contents of packvcx.prg:
lparameters tcVcxFile
use (DefaultExt(tcVcxFile, ".vcx")) exclusive
pack
use
If you want to automate this for all your class libraries, you could write a program that uses adir() assuming you have your class libraries in a single folder, or in a few folders), or use project hooks (to automatically detect all class libraries referenced in your project).

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform