>>>>>>Hi,
>>>>>>
>>>>>>When you remove a bunch of classes from a .vcx library, you can open the library in the VFP 9 IDE and use the feature "Clean up Class Library", to completely remove these classes. I am curious, is this the same as if you were to open the .VCX with USE command and Pack?
>>>>>
>>>>>Yes, as you can see in Help under Project Manager Window.
Clean Up Project Cleans up a project by removing records marked for deletion and packing memo fields.>>>
>>>And an unwanted add on: compile class, compile form do the same after compiling.
>>
>>I don't quite understand. Are you saying that when you run Clean Up Class Library, all classes in this library (vcx) are compiled? I don't see any negative in this (if this is what you mean by "unwanted add")
>
>"Unwanted" as in "you didn't ask for this". I don't even know whether there's a vcx cleanup that you can run, it's the other way around: you compile it, and Fox packs it (as an added bonus, or side effect). I see that often in my source control, when it says my checked-out vcx/vct has grown by a couple of megabytes while I was working on it, then I compile it and then it's actually shorter than when I checked it out.
I just did a test. I removed several classes from a VCX library. Then I rebuild the application, choosing to recompile all files. And the size of the VCX and VCT of the library didn't change one bit.
UPDATE. I must have clicked on the Clean up Class Library before because when I open the vcx with USE commands, I see no deleted records. So my assumption that Recompile does not pack is probably wrong.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham