Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms slow in compiled app??
Message
De
29/06/2016 12:40:23
 
 
À
29/06/2016 00:46:15
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01637780
Message ID:
01637814
Vues:
78
>>>I have a VFP9 app that runs against Sql Server. When I runs the forms from the FoxPro IDE, running against the same Sql Server database which is located on a central server down the hall (i.e. NOT on my local developer machine), all the forms load up and run very quickly.
>>>
>>>However, once compiled into an exe, and runnging the compiled exe from by same devloper box (outside of the FoxPro IDE), the forms take about twice as long to load up. This is very consistent across all forms.
>>>
>>>Is there particular reason that forms would run more quickly inside the FoxPro IDE than when compiled into an EXE?
>>
>>I FIGURED IT OUT!!!
>>
>>Remedy here: http://mattslay.com/foxpro-newobject-fast-here-slow-there/
>
>Just a swag... are you using SYS(2450,1) to indicate that resources should be searched within the executable first?
>
>Walter,


Walter,

This is very interesting indeed.

Please explain me if I frist do a 'set procedure to' for each and every procedure file, is it than advisable to also apply sys(2450,1) in case you want to search within the appliction first? And if so, do I have to apply this sys(2450,1) only once, e.g. in mySettings.prg or do you have to apply it again and again before you call a procedure for which you implicitly would like to search within the application first?

Regards,
Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform