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.