Information générale
Catégorie:
COM/DCOM et OLE Automation
Michel,
from your code it cannot be seen whether you employ early or late binding.
Still, .25 seem extremely slow even for late binding. Use early binding to avoid COM "discovering" on every loop the type of the object.
If you expect a long list of errors, it *might* be faster to gather them inside word via script and just have the result marshal across the comm barrier - depends on the internal structure of word and the speed of scripting. But perhaps worth a test.
HTH
thomas
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement