Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protect/Hide a method programically
Message
From
22/07/2002 07:18:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/07/2002 19:42:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00680959
Message ID:
00681045
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform