Hi,
I use part of ComPlusMon sample in my monitoring application.
I use only adjusted ComMethodEvent subscriber (OnMethodCall2,
OnMethodReturn2 and OnMethodException2).
All is functional when I create subscriber instance from normal *.exe
application.
But I need to create transient subscription from other COM in-process object
or from other COM out-of-process. In both cases transient subscription can
not be registered and registration fails in saving TransientSubscription
collection.
(in ComPLusMon sample - function AdminWrap.AddTransientSubscription() )
Function lret = pISubs.SaveChanges() fails. Reason is that this function can
not read some registry key.
I have tried to see RegMon what key it need to access but on one debugger
step there are many attempts to open many keys, not possible to find the key
by this way.
Is needed to set some permissions on some key in registry to do this ?
Or what is reason that I can not to save TransientSubcsription collection
when subcsriber is created from COM object ?
Thanks !
Peter
Thanks !
Peter