Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protecting VFP Class
Message
De
17/04/2000 16:42:27
 
 
À
17/04/2000 16:26:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00360614
Message ID:
00360625
Vues:
9
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform