Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms slow in compiled app??
Message
De
29/06/2016 11:34:02
 
 
À
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:
01637810
Vues:
82
>>>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,

I have no idea. I didn't even know such a feature existed. I can pull back to the previous code and try this to see if that makes a difference.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform