I want to open 2 Word-documents in my application.
This is the source code I use:
Code: Select all | Expand
oWord1 := TOleAuto():New("Word.application")
oDoc1 := oWord1:Documents:Open(cFile1)
oWord2 := TOleAuto():New("Word.application")
oDoc2 := oWord2:Documents:Open(cFile2)
![Image](http://www.ma-consult.be/Foutmelding.jpg)
Does anyone know why this message appears?
Is there a solution to avoid this message?
Thank you very much in advance for any help.