Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms slow in compiled app??
Message
From
29/06/2016 12:40:23
 
 
To
29/06/2016 00:46:15
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01637780
Message ID:
01637814
Views:
79
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform