Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow To Save In Form Designer
Message
De
14/10/2002 08:06:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/10/2002 07:58:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00710859
Message ID:
00710867
Vues:
13
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform