Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding to make EXE small as possible
Message
From
03/11/2000 02:04:48
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00437025
Message ID:
00437512
Views:
15
Houston,

>Depending upon how much pain you are willing to endure, there are several options (two of which are):

>- VCX's, SCX's etc. store most of their stuff in memo fields. That is FPT's, which we all know are only a little better than nothing. Packing these is a start, but what about changing the block size.

VCX's and SCX's are already packing when saved or recompiled. This is not going to save you any space. The blocksize for the memo files for classes and forms is already 1, you cannot save space with this trick.

>Next level of pain.
>- convert all of the code in the FPT's to PRG's. It should be possible to automate this. Pjx build trigger, open all the Fpt's, extract source, properties, etc. to Prgs, then compile.

Due to some limitations in the VFP languages you cannot convert all classes into PRGs. There are class constructions that are impossible to capture in a PRG. Besides this, how would you build forms with controls that are based on classes in a PRG ?

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform