Add items to the ROT( Running Objects Table)
问题 I know how to use *****.GetActiveObject(ProgId), however the problem is that several of the Applications I use this code line on are not added to the ROT, even if they are already open, I get an HRESULT Error. However If I click on another Application and then return to the original Application, the code line works just fine. The reason I am leaving this so vague, is because this is a problem I am having across 10+ applications. The reason for me not posting code is because I do not believe