I use the excellent COM tracer (Spying on COM Objects by Dmitri Leman) which
I use for hooking COM interfaces and methods. Problem is that I can't trace
all the methods that I need (especially regarding DirectShow interfaces).

Can someone advise please?

Thanks in advance

Mandi

RE: hooking COM interfaces and methods by Nadav

Nadav
Sun Sep 11 10:16:02 CDT 2005

Well, If you know the specific interfaces you can hook then your-self, just
get their vtables and replace the functions with your detours ( keep in mind
that you have to call the original methods when your detour exits ).
--
Nadav
http://www.sophin.com


"Greg" wrote:

> I use the excellent COM tracer (Spying on COM Objects by Dmitri Leman) which
> I use for hooking COM interfaces and methods. Problem is that I can't trace
> all the methods that I need (especially regarding DirectShow interfaces).
>
> Can someone advise please?
>
> Thanks in advance
>
> Mandi
>
>
>

Re: hooking COM interfaces and methods by Greg

Greg
Sun Sep 11 15:30:33 CDT 2005

Thanks Nadav,

What you describe is the principal of COM hooking but the algorithm of
Dmitri Leman already implements it for all interfaces - you just have to add
them to the configuration file. Do you know this software?

Regards

Greg

"Nadav" <Nadav@discussions.microsoft.com> wrote in message
news:EBBDEB65-873F-48B0-B12D-97A8704D2A89@microsoft.com...
> Well, If you know the specific interfaces you can hook then your-self,
just
> get their vtables and replace the functions with your detours ( keep in
mind
> that you have to call the original methods when your detour exits ).
> --
> Nadav
> http://www.sophin.com
>
>
> "Greg" wrote:
>
> > I use the excellent COM tracer (Spying on COM Objects by Dmitri Leman)
which
> > I use for hooking COM interfaces and methods. Problem is that I can't
trace
> > all the methods that I need (especially regarding DirectShow
interfaces).
> >
> > Can someone advise please?
> >
> > Thanks in advance
> >
> > Mandi
> >
> >
> >