|
Really nice and useful for interviews
Please add to it when you get time. For e.g. what really happens behind the scenes when you call CoCreateInstance etc.
You get a 5 from me.
Cheers,
Mel
|
|
|
|
|
Hi,
There is a very nice article that answers ur questions..
Introduction to COM Part II - Behind the Scenes of a COM Server
By Michael Dunn
A tutorial for programmers new to COM that explains the internals of COM servers, and how to write your own interfaces in C++
http://www.codeproject.com/com/comintro2.asp
cheers
|
|
|
|
|
Hi,
I am trying to run some service on win2k3 which was running perfectly fine on win2k, but its giving me the following error code 80004015 on win2k3.
This service is trying to initialize the perf counters using
IRunningObjectTable->Register(ROTFLAGS_ALLOWANYCLIENT|ROTFLAGS_REGISTRATIONKEEPSALIVE ,this,Moniker,&RegisterKey).
This is failing to register the perf counters but service is working fine with the error code "80004015". This happens when we try to register a CLSID that has an APPID with RunAs account different from your server's identity.
when I do the following changes then its starts working, but I guess that is not the right approach,
1. Add the following value in registry ie appid{}/RunAs. i.e. RunAs = Interactive User.
2. Installing and run the service with administrator account but not as local service.
Can you please let me know if you know any other way i can do the things so that i can run the service as local system.
Thanks in advance,
Regards,
Jack
PS : plz CC your reply on jacksmith123ster@gmail.com
|
|
|
|