I\'m doing some automation via a combination of windows message sending directly to HWNDs and calls to a COM server exposed by the automated application.
If there is
I believe the kimgr CoGetServerPID function will give you the process-id of your COM server. However, it only works if the process-id is <65k.