As I have pointed out in your reference thread, COM does not provide the linkage you desire.
And even outside of the COM environment obtaining a parent process id does not definitively establish the actual creating process. There are well known ways to start a child process using the Windows API that will result in a child process having a parent process id other than that of the creating parent.