Heikki Toivonen wrote:
> >> intended to be replaced with table QI at some point. Wanna give
> >> it a go (should be pretty easy if you have Essential COM lying
> >> around someplace;)?
> >
> > I'll answer that with a quote from
> > http://xplc.sourceforge.net/intro.html:
>
> The point I was trying to make: Essential COM (or Effective COM, can't
> remember) has a complete implementation of table QI you can just copy
> into our code (maybe just replace nsISupports for IUnknown etc. but the
> algorithm is solid). Why reinvent something if you don't have to?
I'm pretty sure the quote mentioned hungarian, didn't it? ;-)
I have had both books for a while (nearly since the moment I joined the
discussions here).
I am definitely against reinventing something, that's why I was looking
at stealing it, but I much prefer stealing from the neater, much more
readable, XPCOM than from the hungarian hellspawn code in Essential COM
(it's at page 69, under "Optimizing QueryInterface").
Since XPCOM doesn't have one, I'll go steal from Essential COM instead,
but I wished it was XPCOM. :-)
--
"Sometimes your mental health may depend on just sitting there for a
bit, listening to the cheerful sound of the deadlines whooshing over
your head." -- Michelle Delio