>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):
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)