Click here to Skip to main content
15,891,529 members
Home / Discussions / COM
   

COM

 
QuestionIRunningObjectTable.GetObject() not returning the object Pin
lee2320-May-09 21:42
lee2320-May-09 21:42 
AnswerRe: IRunningObjectTable.GetObject() not returning the object Pin
Stuart Dootson21-May-09 22:39
professionalStuart Dootson21-May-09 22:39 
GeneralRe: IRunningObjectTable.GetObject() not returning the object Pin
lee2324-May-09 13:59
lee2324-May-09 13:59 
GeneralRe: IRunningObjectTable.GetObject() not returning the object Pin
Stuart Dootson25-May-09 1:17
professionalStuart Dootson25-May-09 1:17 
Questionmschart Pin
aysl20-May-09 2:20
aysl20-May-09 2:20 
AnswerRe: mschart Pin
Baltoro20-May-09 14:13
Baltoro20-May-09 14:13 
AnswerRe: mschart Pin
kilt20-May-09 21:01
kilt20-May-09 21:01 
QuestionROTFLAGS_ALLOWANYCLIENT & AppID Pin
lee2319-May-09 21:16
lee2319-May-09 21:16 
I have a Windows Serviced written in .Net which creates an instance of a comvisible class on start up of the service. In the constructor of this class, it tries to register this instance on the running object table with the ROTFLAGS_ALLOWANYCLIENT flag.

I read, in order for a ROT registration with ROTFLAGS_ALLOWANYCLIENT to succeed, the following registry entries must be present:
[HKEY_CLASSES_ROOT\AppID\app.exe] "AppID"="{APPIDGUID}"

What I like to ask is who creates this appid guid or where can I find it in the project?

I am getting the below error and cannot understand why. I tried installing the service as account type LocalSystem, LocalService & User and still got the same result...
Service cannot be started. System.Runtime.InteropServices.COMException (0x80004015): The class is configured to run as a security id different from the caller (Exception from HRESULT: 0x80004015)

I am unclear as to what other registry entries I need to make to get this to work.

Any help is appreciated.
AnswerRe: ROTFLAGS_ALLOWANYCLIENT & AppID Pin
Stuart Dootson19-May-09 22:29
professionalStuart Dootson19-May-09 22:29 
GeneralRe: ROTFLAGS_ALLOWANYCLIENT & AppID Pin
lee2320-May-09 0:05
lee2320-May-09 0:05 
GeneralRe: ROTFLAGS_ALLOWANYCLIENT & AppID Pin
Stuart Dootson20-May-09 1:17
professionalStuart Dootson20-May-09 1:17 
GeneralRe: ROTFLAGS_ALLOWANYCLIENT & AppID Pin
lee2320-May-09 1:46
lee2320-May-09 1:46 
GeneralRe: ROTFLAGS_ALLOWANYCLIENT & AppID Pin
Stuart Dootson20-May-09 2:06
professionalStuart Dootson20-May-09 2:06 
GeneralRe: ROTFLAGS_ALLOWANYCLIENT & AppID [modified] Pin
lee2320-May-09 21:30
lee2320-May-09 21:30 
GeneralRe: ROTFLAGS_ALLOWANYCLIENT & AppID Pin
Stuart Dootson20-May-09 23:50
professionalStuart Dootson20-May-09 23:50 
QuestionProblem with build order of .idl files in visual studio 2005 [modified] Pin
Atulp118-May-09 19:41
Atulp118-May-09 19:41 
AnswerRe: Problem with build order of .idl files in visual studio 2005 Pin
Stuart Dootson18-May-09 22:21
professionalStuart Dootson18-May-09 22:21 
Questionintegrating 'Microsoft office project' Dcom with asp.net Pin
mahesvs16-May-09 9:26
mahesvs16-May-09 9:26 
Questionincreasing security of activex Pin
mazizi16-May-09 0:21
mazizi16-May-09 0:21 
AnswerDifficult to Understand your Question Pin
Baltoro16-May-09 9:08
Baltoro16-May-09 9:08 
GeneralRe: Difficult to Understand your Question Pin
mazizi17-May-09 18:45
mazizi17-May-09 18:45 
Generalsorry Pin
Baltoro20-May-09 14:22
Baltoro20-May-09 14:22 
Questionproblem in query interface Pin
chandrakar ashish14-May-09 21:27
chandrakar ashish14-May-09 21:27 
AnswerRe: problem in query interface Pin
Stuart Dootson15-May-09 0:12
professionalStuart Dootson15-May-09 0:12 
AnswerRe: problem in query interface Pin
«_Superman_»15-May-09 5:19
professional«_Superman_»15-May-09 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.