|Problems? Is your data what you think it is?|
MS Word over Win32::OLE "suddenly" extremely slowby guha (Priest)
|on Aug 23, 2005 at 15:52 UTC||Need Help??|
guha has asked for the
wisdom of the Perl Monks concerning the following question:
I reinstalled the application software like perl, Office, editor, etc on the new harddrive which has MS XP Pro SP2 preinstalled, same as on the old box which had been upgraded to SP2 a couple of months ago. During this quest I have reinstalled perl and Office just to make sure.
I have a rather large application written in Perl which uses Win32::OLE to control MS Word. The app generates reports with tables in them, it IS pretty slow due to OLE and Word, neither one a speed demon. The application draws a lot a CPU, nearly 100 % for several minutes, when Word does it's chores.
Stuff like saving to disk and printing from Word seems OK. I think that it is the marschalling between perl and Word which has gone awry. Some new security feature or what ?
I have been searching google, microsoft, activestate but no avail. This is kinda my last straw ... any ideas ?