Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is EXE size important ?
Message
De
06/12/2001 14:19:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00590427
Message ID:
00590741
Vues:
25
>Hi Renoir !
>
>Load time of my application is quite good, but my application still grows and I would be nice if it would behave in the same good way in the future when it will be for example 30MB in size. Can I still pack reports,forms,clasess in single exe file or maybe I should diveded it ino smaller parts ? It is not a big problem for me. I made some test and it seems that exe size is not too important. But as I know some folks use launchers in network environment (exe starts from local disk) so maybe it is important and I simply something missed ?
>I am also curious how VFP works internally, is it simply loading all in memory at the start or maybe it has a smarter way.

"pack"? That reminds me that you should try to pack vcx-files - if you didn't do so already.

Another thing you can do to reduce the size of your EXE is not to include debugging information. However, if you do this, you can't use lineno() in your error handler any more. The workaround, discussed in previous threads, is to make a copy of your files and clear the method code in forms and classes (the compiled code, in another memo field, remains), but I didn't try this yet.

If you can make your application "modular", you might keep some modules in separte APP-files, so as not to load the entire executable at once - but I don't know whether this is really worthwhile.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform