Problem with ITypeInfo

Dmitry Timoshkov dmitry at baikal.ru
Sun Aug 8 08:01:15 CDT 2004


"Jacek Caban" <jack at itma.pwr.wroc.pl> wrote:

> No, I don't. In my case I need only this:
> 
>  /* this is where we are coming from */
> +    ITypeLib2_AddRef((ITypeLib*)pLibInfo);
>      ptiRet->pTypeLib = pLibInfo;
>      ptiRet->index=count;
> 
> but I call ITypeLib_Release in ITypeInfo_Release so I thought I should 
> increment ref here too.

Then use my test program and possibly add some other test for
typelib reference counting until you get it right. Then submit
a tested patch to wine-patches.

-- 
Dmitry.




More information about the wine-devel mailing list