Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Smaller EXE's
Message
De
02/02/1999 22:33:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00183267
Message ID:
00183283
Vues:
12
>We have an app that is composed of one monothilic EXE (approx 10MB). We are interested in breaking it into smaller parts; not because we think it will run faster or use less memory. It's because our users download updates from our website and we're trying to make that faster and easier. Even when compressed the update file is still 1.5 MB. In previous versions, for example, foxbase+, you could create separate FOX files and simply set procedure to. Is there anything approaching this in VFP?
>
>One other question, is there any functions available that can determine all available drives on a computer?
>
>Any help appreciated. Regards, John

John- You can break up the exe into separate ones like Josh suggested (if your app is logically divisible into separate apps). You can also exclude files form the project like you did in Foxbase. A form that lives as an scx file will work fine when called from an exe.

A couple of other bugs to put in your ear- right click on your project in the project manager and select Project Info. If you uncheck Debug info, this will cut the physical size of your exe by 30%-50%. Be aware that doing this makes all internal information about the program unavailable to an error handler or debuggin utility you might have written. Things like AERROR and LINENO() return no information.

Still another option is a product called RTPatch. Using RTPach, you can take two versions of the same program and create a patch file that contains only the differences. The users can then download the patch, run it, and the their exe will be updated. I don't know the website offhand, but you can download a sample copy. Do a search on rtpach.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform