>Can someone tell me how to protect a class so it cannot be changed? I'm writing a class to unpack a string and don;t want it to be changed once I'm done?
>
Compile it and rip out the source once it's compiled by opening the VCX EXCLUSIVE as if it were a DBF (it is) and replacing the Methods field with "" - as long as it's been compiled, the ObjCode field cointains the compiled source. PACK to eliminate the leftover space from the memo (VCT) file.
Make sure you have a backup of it that contains the original Methods code or you lose the source, too.