>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?
Additional hint.
If you copy / duplicate classes between vcx's, you might mixup there ID. This is, you have multiple classes with the same UniqueID in your vcx. This can create havoc with CodeReferencers replace function. Normal function like MODIFY or CREATEOBJECT and so one are no problem. Anyway its' not good to have those mixed up.
My packer since the days of yore (packs anything :) )
PROCEDURE PackFile
LPARAMETERS;
tcFile,;
tlNewGUID
IF FILE(m.tcFile) THEN
SELECT 0
USE (m.tcFile) EXCLUSIVE ALIAS cAlias
IF USED('cAlias') AND !ISREADONLY('cAlias') THEN
PACK
IF m.tlNewGUID AND UPPER(JUSTEXT(m.tcFile))=='VCX' THEN
REPLACE;
UniqueID WITH SYS(2015);
FOR PLATFORM='WINDOWS'
ENDIF
ELSE
?tcFile+' READONLY - nicht gepackt' FONT 'arial' STYLE 'b'
ENDIF
USE
ENDIF
ENDPROC
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]