Patent ID: 8365206

Claim:
A computer-implemented method for handling component-object-model communications, the computer-implemented method comprising: identifying a request to instantiate a component-object-model object through a remote-procedure-call process, wherein: the component-object-model object is associated with an out-of-process component-object-model server registered in a first environment; the remote-procedure-call process is running in a second environment with a different registry than the first environment; allowing the remote-procedure-call process to access the first environment such that the remote-procedure-call process is allowed to launch the out-of-process component-object-model server and instantiate the component-object-model object; after the component-object-model object is instantiated, providing security for the first environment by ensuring the unavailability of the component-object-model object to callers outside the first environment; wherein allowing the remote-procedure-call process to access the first environment comprises bringing a thread of the remote-procedure-call process into the first environment; and removing the thread of the remote-procedure-call process from the first environment.