I found that for office, (Excel, Word)
sys.COM("Word.Application")
will start a new process by using parameters:
winword.exe /automation -embedding
or
excel.exe /automation -embedding
and normally it is only winword.exe or excel.exe, without any parameter.
but today I found that, for another software, not of Microsoft,
though sys.COM("other.Application")
still start a new process by using parameters:
other.exe /automation -embedding
but when there is an existed process of other.exe with no parameter, it CAN connect to it.
and if connect again, then it started another process, by using parameters:
other.exe /automation -embedding
.
why not office work like this?