Problem with OLE and Microsoft Word
Posted: Fri Apr 07, 2023 12:44 pm
Hello,
I did this test:
I wanted to test the speed by which Word is opened and closed by using OLE.
After the Quit-command, it lasts at least 10 to 15 seconds before Word is effectivily closed.
What can be down to make this process much quicker?
Thank you very much for any advice.
I did this test:
- Code: Select all Expand view
- oWord := TOleAuto():New("Word.Application")
oWord:Quit()
oWord:= NIL
oWord := TOleAuto():New("Word.Application")
oWord:Quit()
oWord:= NIL
oWord := TOleAuto():New("Word.Application")
oWord:Quit()
oWord:= NIL
I wanted to test the speed by which Word is opened and closed by using OLE.
After the Quit-command, it lasts at least 10 to 15 seconds before Word is effectivily closed.
What can be down to make this process much quicker?
Thank you very much for any advice.