I am kind of new to COM and had a query. We have registered a COM DLL as DLLSurrogate to run under default dllhost.exe.
We have an app/3rd party app that is consuming this COM, and when we try to get the current process id it is returning the process id of dllhost.exe and not the app.
Is there a way to get the process id of the client that made the COM call (app)?