Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile into EXE or not
Message
De
10/02/2001 15:59:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00474712
Message ID:
00474754
Vues:
12
>In the work I've done to date, I've created some classes that I've used for a few apps. Since these classes were relatively small, I just compiled them with the EXE. Now, I'm going to distribute the Stonefield Class Libraries with my app. These classes are fairly large and make a significant difference in the size of the EXE. It seems to work just fine if I exclued the classes from the complied EXE and just make sure they are in the app directory. Are there any pros and cons to (1) Including the class libraries in the compiled EXE or (2) Not compiling them in the EXE and just including them in the distribution set-up?

The SDT classes are not that large, AFAIK most people bind them into the .EXE. Bear in mind that many framework-based .EXEs are 3 to 5 MB; some people have reported .EXEs approaching 20MB!

It's really a matter of preference, but having the classes included means fewer files that can become corrupted or accidently deleted, and PATH issues are eliminated.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform