Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good reason to never use form methods
Message
 
To
12/09/2000 13:27:40
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00415216
Message ID:
00415526
Views:
22
>>>If you ever look into a compiled, non encrypted, VFP EXE you will find all
>>>of the source code, INCLUDING ALL YOUR COMMENTS, from every method in every
>>>form (and I think, vcx) in the exe. It appears that the compiler just
>>>brings in the entire form, source and all.
>>You should be able to remove this with the project option "include debug
>>info". Uncheck this by right clicking on the PM and selecting "properties".
>It has to do with the relative poor job that VFP does when compiling. The
>whole VCX file is uncluded with all the overhead. When you migrate to PRG
>you'll loose the overhead, even if the debuginfo is included.

You can also lose the code by using the .SCX as a table and doing REPLACE ALL methods WITH "", and then building the EXE without recompiling. However, you need to do this on a copy of your form, or you've lost the code for good.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform