Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does commented code really affect size of .exe?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01498562
Message ID:
01498657
Vues:
75
>>>Hi,
>>>
>>>I wonder if a commented code adds to the size of the .EXE? My guess is that since the commented code increases the size of the .VCT file (of the class library where the code resides) it has to affect the .EXE; that is, it has to increase its size. Does it make sense?
>>
>>It might depend upon how you compile the app too. With project open and having focus, from main menu select Project / Project Info. From the popup window that appears the first tab (project) has 3 checkboxes - debug info, encryped, and attach icon. I THINK if you deselect 'debug info' that the comments are not compiled into the .exe, thus making it smaller.
>
>I agree with you that the check box "debug" (unchecked) will reduce the size of the .EXE. But I think that the commented code still affects the size. Since, if I am not mistaken, at build time the entire .VC? files are added to the .EXE. And since commented code makes the memo field larger and therefore the .VCT file larger it will increase the size of the .EXE. This is how I think it works. But I am not sure.

hmmmm....well that sounds logical. I know that if you don't have "debug info" checked, then try to decompile the app you loose all your comments - which is why I thought that might strip them out of there....
ICQ 10556 (ya), 254117
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform