Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protect/Hide a method programically
Message
De
22/07/2002 07:18:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/07/2002 19:42:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00680959
Message ID:
00681045
Vues:
16
>Is there any way to programically protect or hide a method.
>All I can find is to use "WriteMethod(MethodName,MethodText,lCreateMethod)" to create/overwrite the method, but I don't see any way to protect/hide it.
>
>TIA

I don't know a direct way either. Indirectly you could programmatically hack the vcx and add protected/hidden method names to 'protected' field. ie:

myprotectedmethod
myhiddenmethod^

Reserved3 field has all custom method names. Hidden method names in 'protected' field are postfixed with a '^'
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform