running-object-table

Add items to the ROT( Running Objects Table)

。_饼干妹妹 提交于 2019-12-22 09:27:32
问题 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

Anyone got C# source for Running Object Table viewer?

倖福魔咒の 提交于 2019-12-11 05:55:47
问题 Answering my own question here. The Running Object Table (ROT) is a Microsoft Component Object Model (COM) artefact where Excel and Word documents can register themselves to make them accessible to any other application on a machine. The ROT thus faciliatates Object Embedding and Linking (OLE) and Interprocess Communication (IPC). There used to be a program called ROTViewer.exe that dates from the Visual Basic 6 era which allowed a developer to eyeball the ROT's contents. Surprisingly, no-one

Add items to the ROT( Running Objects Table)

天涯浪子 提交于 2019-12-05 20:19:59
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 this problem to be code based, rather I believe this problem to be due to a simple lack of understanding

Problems accessing the Running Object Table

寵の児 提交于 2019-11-29 05:49:36
问题 In my program I use the Running Object Table (ROT) to ensure only one instance of my program is running. Since I "inherit" that code from a developer who unfortunately left the company, I am the poor guy to solve the problems. The code works fine, but we have 3 customers (out of 39,000) who will get an AccessDeniedException . Every customer runs the software in user mode. Any suggestions what could be wrong? bool retVal = false; IMoniker[] arrMoniker = new IMoniker[1]; IBindCtx bindCtx = null