From a COM object outside the process (LocalServer32), you can determine the client process that requested the creation of the object? - To be specific, I need to get the command line of client processes.
This question arises due to the fact that (due to poor standardization, implementation, and support) potential third-party clients of the object have many idiosyncrasies that the object must solve.
For this, the object must be able to identify its current client.
Expanding the interface of a COM object so that a client can identify itself, unfortunately, is not possible ... or, more precisely, the interface can be expanded, but I can not force clients to call the extension.
source
share