TypeLib containment refcounting

Mike Hearn m.hearn at signal.qinetiq.com
Tue Jun 17 07:55:17 CDT 2003

> > Well, unless you can call GetTypeInfoOfGuid twice and get two pointers to
> > the same interface (maybe you can, i don't really know but that would seem
> > unusual), I don't understand why this is wrong.
> That is exactly what you can in the current typelib implementation. The
> pointers will be the same, too. Whether you can in the real MS
> implementation I'm not sure, but shouldn't matter, since the current
> Wine implementation is what you're dealing with.

Even so, as far as the users of these interfaces are concerned, they
have to be properly reference counted which the app I'm dealing with,
which is MS native code appears to do.

So, is the problem here that I would be leaking references?

Mike Hearn <m.hearn at signal.qinetiq.com>
QinetiQ - Malvern Technology Center

More information about the wine-devel mailing list