Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE - Why?
Message
De
31/03/2008 12:22:04
 
 
À
31/03/2008 12:19:43
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01306848
Message ID:
01306998
Vues:
6
>>>>>>What is the simplest explanation as to why these are needed? Why not just set regular variable values? So what if they are constant and don't change?
>>>>>
>>>>>Security of the source code so that reverse engineering of an application won't give back that code.
>>>>
>>>>Good additional point.
>>>
>>>Give back what code?
>>>
>>>It would show "10" instead of "My_Constant" in the source. Is that a big security issue? Enough to not put it in a variable? It can only be done for constants, so constants are the only things that would be protected. Is that a valid security reason to use DEFINE?
>>
>>You got it wrong. When your source code is Re-foxed, the constants will remain as is (I'm guessing), e.g. you would not get your code as it was written originally with #DEFINE.
>>
>>That was Denis point, as I understood it.
>
>What part did I get wrong? That only the constants are protected?
__

Oh, it's getting in slowly ...
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform