Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow To Save In Form Designer
Message
From
14/10/2002 08:06:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/10/2002 07:58:02
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00710859
Message ID:
00710867
Views:
12
>Wow - I solved the problem but I'm amazed at the solution <s>. Yesterday, I added some Word automation code and included the Word2000.h file in another include file that is utilised throughout the whole application. I dropped the automation code in favour of another solution. After finding that more or less everything was slowing down, I racked my brains for what I had done differently. I pulled the Word2000.h file out and "bingo", everything back to normal. I didn't realise what sort of impact this could have.

Of course, for every include file you use, VFP has to do some additional processing at compile-time. The constants have to be analyzed throughout the code, and replaced.

However, I think this shouldn't be that slow. Is the .h file very big?

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform