1

Topic: GetActiveObject and dcomcnfg

Faced such piece. There is an application-service which uses object Word. Application by means of GetActiveObject. If in dcomcnfg for this object in properties the Certificate costs "the Launching user" all is normal, in storage one process winword.exe hangs only. If to deliver "the Specified user" and to set itself each call GetActiveObject generates new process winword.exe which differ from each other only value Logon Session. What does this mean?

2

Re: GetActiveObject and dcomcnfg

Hello, Vaynamond, you wrote: V> Faced such piece. There is an application-service which uses object Word. Application by means of GetActiveObject. V> If in dcomcnfg for this object in properties the Certificate costs "the Launching user" all is normal, in storage one process winword.exe hangs only. V> If to deliver "the Specified user" and to set itself each call GetActiveObject generates new process winword.exe which differ from each other only value Logon Session. Generally, GetActiveObject does not generate start of new process on the sense of this function - obtaining of already operating object. It is checked up many times though same Microsoft - it can spoil at any time the contract. V> that this means? Something someone besides yours of will with GetActiveObject does a call on start CreateInstance.

3

Re: GetActiveObject and dcomcnfg

Hello, Vi2, you wrote: Vi2> Hello, Vaynamond, you wrote: V>> Faced such piece. There is an application-service which uses object Word. Application by means of GetActiveObject. V>> If in dcomcnfg for this object in properties the Certificate costs "the Launching user" all is normal, in storage one process winword.exe hangs only. V>> If to deliver "the Specified user" and to set itself each call GetActiveObject generates new process winword.exe which differ from each other only value Logon Session. Vi2> Generally, GetActiveObject does not generate start of new process on the sense of this function - obtaining of already operating object. It is checked up many times though same Microsoft - it can spoil at any time the contract. And I about the same. Or more artful conditions on which object existence is checked are used? V>> that this means? Vi2> Something someone besides yours of will with GetActiveObject does a call on start CreateInstance. That else noted: if to work not from under service, processes (is more exact, one process) winword.exe forms in 1st session, and from under service - in 0th session.